[p4] cvs -nq update
heinz2 at llnl.gov
Fri Oct 22 09:37:58 PDT 1999
One way would be to do a p4 files.
Files that are not under perforce control show up as
"no such file(s)"
I do this at the command line in tcsh with the
find . -type f | p4 -x - files | grep 'no such file' > newfiles
Valient Gough wrote:
> I'm a CVS user giving Perforce a try. One thing that I can't figure out
> is how to find out the current state of your tree!
> Using CVS, doing "cvs -nq update", I might get something like this:
> U file1
> M file2
> A file3
> ? file4
> which would mean that file1 needs to be updated (it's newer on the
> server then what I have), file2 has been modified locally (by me), file3
> has been added (but not submitted), and file4 is a new file that CVS
> hasn't been told about.
> What I'm particularly interested in is the ? types. Say I've gone and
> added files in various places, or even better say I ran a script that
> created some files, and now I want to add them. How can I have p4 tell
> me which files are new?
> Please CC me any response, as I'm not subscribed to this list.
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user