[p4] FW: Linux patch file generation

Ken.Williams at thomson.com Ken.Williams at thomson.com
Tue Mar 1 12:18:59 PST 2005


I don't know of any way to express a "file deletion" in a patch file.

The rest of the patch data can be easily generated by using "p4 diff2 -u ... at 1492 ...#have" in order to get a patch between changelist 1492 and the currently synced version.

 -Ken

-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com]On Behalf Of Fawad Khan
Sent: Tuesday, March 01, 2005 1:30 PM
To: perforce-user at perforce.com
Subject: [p4] FW: Linux patch file generation


Is there an easy way to generate the following from Perforce?
 
Thanks,
Fawad
 



From: Yau Chu 
Sent: Saturday, February 26, 2005 12:38 AM
To: Fawad Khan
Subject: Linux patch file generation
 
Fawad,
 
Here's what I'd like to know:
 
How can I generate Linux patch files with Perforce on a directory that has been modified with file additions, file deletions, and edits?   There should be a patch file for each change list which affected the desired directory.  I should be able to apply the generated patch files on the set of files that was first checked into Perforce in order to re-create the current state of the directory.
 
I hope what I want is clearly expressed in the above description.
--
Yau




More information about the perforce-user mailing list