[p4] Changes by single user
Peter Weldon
peter.weldon at lollotec.com
Thu Nov 1 16:01:11 PDT 2007
On 10/30/07, erdem.ultanir at gmail.com < erdem.ultanir at gmail.com > wrote:
> how can I just get revisions by only one user listed? I'm using p4v but
couldn't find a way to do this
Your question is a little ambiguous so my reply may not be relevant. If you
want to list all the files touched by a specific user read the "File Data"
thread started by John Dix. If you are only interested in listing the
changelists/revisions by a particular user for a specific file read on ...
P4V's file history pane does not let you do this. P4Win's revision history
dialog does not let you do it either but does let you sort by the user
column so you can get the revisions grouped by user.
Using P4V's submitted changelists pane you can easily grab all the
changelists by a user that touched a particular file. Display the submitted
changelist pane, drag the file in question to the filename input box in the
pane, enter the user name in the user input box. This is pretty much the
same as listing revisions by a user but the file revision #s may not be as
easy to get at. Note that once you setup a filtered submitted changelists
pane for a particular folder the P4V's folder history view will magically
also become filtered and there is no way to get it unfiltered again except
to restart P4V.
The p4 "changes" and "filelog" commands can most probably get you most of
the way there depending exactly what you want to do:
>p4 -p public.perforce.com:1666 filelog -m 100 //public/index.html |
findstr /c:"by rmg@"
... #38 change 2442 edit on 2002/12/04 by rmg at rmg-all-peggyo (ktext) 'Add
blanket disclaimer of warra'
... #37 change 2244 edit on 2002/10/23 by rmg at rmg-all-peggyo (ktext) 'Fix
for job009083 [in computer:'
... #36 change 2142 edit on 2002/09/23 by rmg at rmg-all-peggyo (ktext)
'Starting to do the "Jam M/R" ->'
>p4 -p public.perforce.com:1666 changes -m 100 -s submitted -u rmg
//public/index.html
Change 2442 on 2002/12/04 by rmg at rmg-all-peggyo 'Add blanket disclaimer of
warra'
Change 2244 on 2002/10/23 by rmg at rmg-all-peggyo 'Fix for job009083 [in
computer:'
Change 2142 on 2002/09/23 by rmg at rmg-all-peggyo 'Starting to do the "Jam
M/R" ->'
More information about the perforce-user
mailing list