views:

349

answers:

1

In a branch spec, I have the following view:

//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/...

Perforce reports an "Incompatible wildcards" for the second rule there.

What I'd like to do is exclude all the directories beginning with "o".

What am I doing wrong, and how do I fix this?

+7  A: 

I think you need to have matching wildcards on both sides of each mapping. Try:

//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/o*/...
Joe Beda
Yep, that did it. Thanks.
Nocturne