[p4] Tool to generate patch files from Perforce
2005-03-01 11:41:23 GMT
Hello,
Is anyone aware of a tool or script that will allow UNIX patch files to
be generated from Perforce? The main use case would be to choose a
directory in the depot and specify two revisions (changelist numbers,
labels, etc), at which point the tool would generate a patch file
describing the differences. The output should be in a form that can be
used as input to the patch(1) command so that when applied to the
directory tree at the first revision, it would be updated to match the
second revision.
I know of p4 diff2 -du, which is close but has a couple of deficiencies
for this purpose. Although the deficiencies are work-aroundable, I
would like to avoid re-inventing the wheel if possible!
Many thanks,
Ian
Ian Willats e-mail: ian.willats <at> windriver.com
Project Manager tel: +44 (0)1564 711669
fax: +44 (0)1564 711302
Wind River UK Ltd
Central Boulevard, Blythe Valley Park, Solihull, B90 8AG, England
_______________________________________________
Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
Learn more: http://www.perforce.com/conf
perforce-user mailing list - perforce-user <at> perforce.com
(Continue reading)
RSS Feed