Uploading a patch file fails with 'Unrecognised diff format' error
Symptoms
Attempting to upload a patch file to Crucible for a review results in the following error on screen:
Error adding patch: Unrecognised diff format. Expected diff hunk descriptor but found:
Cause
This is a known bug:
CRUC-6114 - Getting issue details... STATUS
In keeping with Atlassian's Bug Fixing Policy, please log in and vote on the issue.
Resolution
Remove similar entries from the patch file and attempt to upload it again:
Index: java/generic-file.xml
===================================================================
--- java/generic-file.xml (revision 0)
+++ java/generic-file.xml (working copy)
Property changes on: java/generic-file.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision URL
Last modified on Aug 21, 2014
Powered by Confluence and Scroll Viewport.