Uploading a patch file fails with 'Unrecognised diff format' error

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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: 

原因

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.

ソリューション

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

最終更新日 2014 年 8 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.