[p4] Offline reconciliation: what files need to be added?
Marc Wensauer
maillist.perforce.com at work.wnsr.net
Wed Jun 13 13:59:51 PDT 2007
This KB article provides very useful information on how to reconcile
offline changes:
http://kb.perforce.com/UserTasks/WorkingDisconnected
For my purposes though, I need to *query* what needs to happen before
actually doing it. For the most part, it's trivial to see what files
will have to opened for delete and edit via 'p4 diff -sd' and 'p4 diff
-se' respectively.
But how do I query my workspace for files that *would* have to be added?
The 'find . -type f | p4 -x - add' recommendation is rather
brute-force, and doesn't avoid actually performing the operation instead
of just telling me about it.
How might one query for this information? A recursive 'p4 files' and
grep for "no such file(s).", or is there something else I should
consider?
Thanks for your advice,
-Marc
More information about the perforce-user
mailing list