[p4] Tool to generate patch files from Perforce

Peter Stephenson pws at csr.com
Tue Mar 1 04:02:56 PST 2005

"Willats, Ian" wrote:
> 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!

If you have a recent version of Perforce, you'll find that "p4 diff2 -u"
(no "d") gives a closer approximation to patch output.  I've found it's
good enough for me.

Peter Stephenson <pws at csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


More information about the perforce-user mailing list