I have two file trees (source code). I want to know the differences in
file names in those trees. I don't care if the files themselves differ
internally (I'm searching for new and deleted files between the two
trees).

I'm in Linux and have available all the usual utilities as well as p4.
Also anything I can download.

...

... but what I really need is:

./1/
./2/
./1/1.a
./1/1.b
./1/1.c
./2/2.a
./2/2.b
./2/2.c

Are the code trees themselves in Perforce? If so, the diff tool in P4V can do this for you.

If you can't (or don't want to) use the graphical Perforce client, a trick that I sometimes employ is to integrate/merge one tree into the other, being sure that '-d work around deleted files' is NOT chosen. Then look at the changelist it comes up with, noting all the adds and deletes, and ignoring the merges.


-Matt


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to