p4 CLI: How to find new files not yet "added" to perforce control -
i have looked @ different ways of doing using diff. first option tried is:
p4 diff -sa
opened files different revision in depot, or missing.
initially figured file write permission bit set did not exist in depot. however, have since learned p4 doesn't use mode bits track opened/unopened states first thought.
next figured option work:
p4 diff -sl
every unopened file, along status of 'same', 'diff' or 'missin' compared revision in depot.
this okay, except "unopened" not inclusive of "untracked" files. although, when ran this, produced quite different contradicts documentation; output pretty tracked, output wasn't tracked, flagged them 'same'. maybe means hasn't been added , doesn't exist in depot, client same depot...? in svn biased opinion, rather pointless option.
then there 'opened' option. that. lists files in depot have been opened on client; not files modified on client not yet added.
so there option missing somewhere, provide valuable answer, svn , cvs able 1 simple command?
$ svn status added m modified r deleted ? untracked l locked c conflict
or:
$ cvs -q -pd
well, there exists "p4 status", similar in both purpose , behavior "svn status".
for more ideas, see: http://answers.perforce.com/articles/kb_article/working-disconnected-from-the-perforce-server
Comments
Post a Comment