Today I had a pretty big change made up from several SVN revisions:
1 | svn diff -r 23284:23747 -x -b > ~/tmp/code.patch |
When trying to push those, Crucible complained:
_Error adding patch: Unrecognised diff format. Expected diff hunk descriptor but found:_
Seems this is a known issue that’s been alive for more than 2 yrs. The issue comes from the fact that the SVN diff command mixes code changes with metadata changes. There’s a tool filterdiff
that can easily clean it up.
1 | brew install patchutils |