开发者

perforce exclude subfolder from diff

I have added an exclusion to my workspace which is called "dev-machine"

-//depot/DotNetProject/bin/... //dev-machine/bin/...

The bin folder now shows as excluded in p4diff but...

The differences are still showing i.e. diff 1 of 11 and the next and previous arrows are still taking 开发者_C百科me into those excluded folders.

Am I missing something obvious here?


Did you add the client-spec rule to remove the bin directory after making changes to the directory, and opening files in the directory? Perforce will still consider the files as mapped until you explicitly sync, and even then it'll prevent you from removing the file Perforce knows is open.

If Perforce already thinks the files in the bin directory are open (check with p4 open), your best bet may be to force-sync these files, or revert them, to remove them from your workspace. You'll end up with no files in your bin directory (at least, that Perforce is tracking), so you'll need to rebuild.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜