-
Suggestion
-
Resolution: Unresolved
-
None
Due to this bug https://jira.atlassian.com/browse/CRUC-6114 , CLI tool in Crucible "crucible.py" will have the following error when uploading SVN diff with property changes:
$ python crucible.py Crucible server: http://localhost:8060 Crucible username: admin Detected Crucible repository subversion. Use --repository or --noanchor options to override Please specify a project to create the review in or an existing review id to add to [CR]: CR-1 Server Error: com.cenqua.crucible.revision.diff.patchDiff.PatchException: Unrecognised diff format. Expected diff hunk descriptor but found:
It should provide a clear message that the "svn diff" has a property changes and it couldn't be added to the Crucible review. We will need to run the command "svn diff" and remove the property changes before uploading the patch file to Crucible Review manually.
The CLI tool "crucible.py" should also detect what is the SVN version installed in the machine. If it is SVN 1.8.x, "crucible.py" should use the option "--patch-compatible" for "svn diff" when generating the patch to be uploaded.
- is related to
-
CRUC-6114 Pre-commit review error: SVN patch containing Property changes cannot be uploaded.
- Closed