[p4] File data

Robert Cowham robert at vaccaperna.co.uk
Tue Oct 30 23:06:30 PDT 2007


If you are on windows without other utilities installed, then you can
experiment with the for syntax:

For /f "usebackq tokens=2" %c in (`"p4 changes -u fred //depot/branch/..."`)
do p4 describe -s %c

You can even do a call after the do and put it in a batch file.

My personal preference is for unix type utilities - makes life easier.

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Chuck Karish
> Sent: 30 October 2007 20:01
> To: Dix, John
> Cc: perforce-user at perforce.com
> Subject: Re: [p4] File data
> 
> On 10/30/07, Dix, John <JDix at medmanagesystems.com> wrote:
> > What I am looking for is a way to list ALL the files a 
> specific user 
> > has modified in a branch.
> 
> p4 changes -u $user //depot/... |
> cut -d ' ' -f 2 |
> p4 -x - -ztag describe -s |
> awk '/depotFile/ {print $3}'


More information about the perforce-user mailing list