Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.8.0, 3.9.0, 3.10.0
-
None
Description
Trying to upload (in any way) a perforce patch (produced by running 'p4 -z tag diff -du') that has changes in binary files, produces an error: Error adding patch: Unrecognised diff format. Expected diff hunk descriptor but found: (... files differ ...)
Sample patch:
... depotFile //depot/private/ProjectX/14 ... clientFile /Users/lpater/test/p4/sample/checkout/private/ProjectX/14 ... rev 2 ... type text @@ -1,4 +1,5 @@ test +test foobar foobar foobar ... depotFile //depot/private/ProjectX/doc.doc ... clientFile /Users/lpater/test/p4/sample/checkout/private/ProjectX/doc.doc ... rev 1 ... type binary (... files differ ...) ... depotFile //depot/private/ProjectX/kiwi.txt ... clientFile /Users/lpater/test/p4/sample/checkout/private/ProjectX/kiwi.txt ... rev 1 ... type text @@ -1,3 +1,8 @@ +test +foobar +foobar +foobar +foobar foobar foobar foobar