[p4] Diffing 2 labels

Vinny Murphy vmurphy at cisco.com
Wed Feb 22 05:46:45 PST 2006


Hi Steven,

To get the changes between to changelists do:
p4 changes //depot/...'@<=labelB,@>labelA'

'p4 help undoc' relative revisions section has details about @<= and @> 
syntax.

Steven Bougon said the following on 02/21/2006 05:45 PM:
> Hello,
>
> To get the list of files modified between labelA and labelB,
> one can use p4 diff2 -q //depot/... at labelA //depot/... at labelB
>
> However, this does not return any information about the changelists
> numbers (even with -ztag) ....
> QUESTION: What is the best way to get all the changelists that were 
> involved between 2 labels ?
> (right now, I'm calling p4 files //depot/... at labelA and then p4 files
> //depot/... at labelB, diff the result, and get the changes from the 
> diff).
>
>
> Steven
>
> _______________________________________________
> 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