[p4] Client map too twisted for directory list
Ivey, William
william_ivey at bmc.com
Fri May 26 10:06:57 PDT 2006
-----Original Message-----
From: Shawn Hladky [mailto:p4shawn at gmail.com]
> I think all the exclusionary mappings in this view are unnecessary.
> For example, the following 3 lines all relate to one another:
>
> 1 //dev/projA/main/... //KClient/dev/...
> 2 -//dev/projA/main/tools/... //KClient/dev/tools/...
> 3 //tools/projA/main/tools/... //KClient/dev/tools/...
>
> Line 3 and line 1 are in conflict, and Perforce will always use the
> latter line to resolve the conflict. The exlusionary mapping in
> line 2 is redundant.
Perforce views have to be 1:1 in both directions. Without the
exclusion mapping, that won't be true. (That is, the path
//KClient/dev/tools/... will map to two locations in the
repository.)
However, we probably could use overlay (+) mappings here. That wasn't
available when we first started but I think that might work here.
They can be a little tricky if the same file appears in both locations
in the repository, but that wouldn't be the case here. Maybe its time
for me to take another crack at fixing this.
-Wm
More information about the perforce-user
mailing list