Hi all,
I need to bring a client to sync with a given changelist number, but with a
quirk that some files
might have been accidentally deleted on the client's disk using plain file
delete (not p4 delete).
Using "p4 sync -f @12345" will force all files to refresh, even if their
contents are already ok.
This causes a lot of network transfer and is terribly slow for a large depot.
What I need is to
update only the files that are missing, not all of them. I was thinking of using
something like:
p4 sync @12345
p4 diff -sd @12345 > deleted.txt
p4 -x deleted.txt sync -f @12345
But I am not sure if the syntax will really get me what I want. Will the -x
option cooperate with
the changelist number correctly in the second sync command? Can anyone more
proficient with the p4
command confirm (or deny) correctness of the syntax?
Thanks,
Alen