[p4] Diffing 2 labels

Steven Bougon SBougon at ariba.com
Wed Feb 22 07:40:19 PST 2006


Thanks guys ! that's exactly what I was missing. I will parse the 
output to get the Changelists.

Steven
-----Original Message-----
From: Vinny Murphy [mailto:vmurphy at cisco.com] 
Sent: Wednesday, February 22, 2006 5:47 AM
To: Steven Bougon
Cc: perforce-user at perforce.com
Subject: Re: [p4] Diffing 2 labels

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