[p4] Offline reconciliation: what files need to be added?
Ivey, William
william_ivey at bmc.com
Wed Jun 13 16:01:46 PDT 2007
> 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.
Add -n to the add command to see a preview of what it would
do. -Wm
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Marc Wensauer
Sent: Wednesday, June 13, 2007 4:00 PM
To: perforce-user at perforce.com
Subject: [p4] Offline reconciliation: what files need to be added?
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
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list