[p4] Getting file change information for a change

Gross, Steve SGross at sjm.com
Fri Nov 9 12:34:36 PST 2007


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



More information about the perforce-user mailing list