[p4perl] help: diff of revisions

Tony Smith tony at smee.org
Tue Mar 15 05:03:30 PST 2005


> Does anybody know how to get the difference of revisions and its submitter?
> say, I want to know which strings or chunks was changed by whom.
> Is there any idea of how to do that?

'p4 annotate' gives you something pretty close to what you're after. 

However, if you're really set on actual diff chunks you'll need to run a 'p4 
filelog' to get a list of the revisions involved, and who changed them; and 
then use 'p4 diff2' for each pair of revisions involved to get the diffs.


More information about the p4perl mailing list