[p4] Getting file change information for a change

Ivey, William william_ivey at bmc.com
Fri Nov 9 14:30:15 PST 2007


p4 describe -s xxx

Without the -s it will also diff every file with its previous
revision - that's usually too much information in one go for
me.

If you want a pure list of files and nothing else, you'll still
have to filter the output to get rid of the extra details.

-Wm

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Gross, Steve


Pursuant to my earlier discussion:

I want to know what files are affected by a particular submitted change.
For change X, for instance, I want a list of files affected.

I've found that I can execute the following command:
  p4 files //... at xxx

Where 'xxx' is the change number, and I get a fair amount of
information. If I pipe it through grep:
  p4 files //... at xxx | grep xxx

Then I get exactly what I need--a list of files affected specifically in
change xxx.

Is there a way I can get p4 to give me the grepped info directly, rather
than fetching it all and THEN piping it through grep? It would save a
lot of time.

Thanks,
--Steve

_______________________________________________
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