[p4] [OS X]Exclude ~.nib directories

Stephen Vance steve at vance.com
Sat Dec 16 12:54:48 PST 2006


David --

Remember, directories don't exist directly. You should be able to say

-//depot/.../*~.nib/...   //myclient/.../*~.nib/...

You could shorten this, which may give better performance, to

-//depot/...~.nib/...   //myclient/...~.nib/...

NOTE: Having two wildcards in the mapping, though sometimes necessary, 
is generally something to avoid because of performance implications. 
Make sure you need it if you use it. If you find yourself using it 
frequently, consider reorganizing your source tree so that it's not 
necessary.

Steve

David wrote:
> I would like to exclude directories and their contents from a Mac OS  
> X project that include directories that end in "~.nib" such as  
> "MyDialog~.nib".  But I also need to include files and directories  
> that end in ".nib".  The only exclude line I was able to add to my  
> workspace view to remove the "~.nib" directories also removed the  
> directories ending in ".nib".
>
> Is the a exclude spec I can use that will work for this?
>
> Thanks.
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   


More information about the perforce-user mailing list