Fix parsing of SVN diffs with property changes.
Review Request #3347 — Created Sept. 23, 2012 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-1.6.x | |
2359 | |
Reviewers | |
reviewboard | |
Fix parsing of SVN diffs with property changes. SVN diffs with property changes broke diff parsing. We now handle this properly. We don't show the changes in the diff viewer, but we at least don't fail miserably now. Property changes in diffs have only recently gained any kind of parseable format, it appears, but more work needs to be done to look into whether we can make any of use it.
Unit tests pass.
Change Summary:
Fixed to work with both SVN 1.6 and 1.7 property change diffs.
Diff: |
Revision 2 (+134 -5) |
---|
MX
-
-
reviewboard/diffviewer/parser.py (Diff revision 3) Shouldn't the 2nd parameter be "linenum", not "linenu"--otherwise what will the return on line 174 return?