[p4] how to make labelsync label deleted files

P4Matt perforce-user-forum at forums.perforce.com
Tue Jul 23 11:10:01 PDT 2013

Posted on behalf of forum user 'P4Matt'.

Try this:

p4 labelsync -l test_label //<client name/...#have p4 labelsync -a -l
test_label //<client name>/...#delete   
The first command will put the files in your have list in the label. The second
will add all deleted files in your client view. The '-a' on label sync
tells Perforce to only add files to the list, which prevents your have list
files from being removed.

Please click here to see the post in its original format:

More information about the perforce-user mailing list