What steps will reproduce the problem?
1. Upload a diff file that contains header lines that end in (rev 34344)
instead of (revision 34344)
What is the expected output? What do you see instead?
The diff should be handled as though "rev" says "revision".
Instead, the following error occurs:
SCMException at /r/new/
Unable to parse diff revision header '(rev 10958)'
Request Method: POST
Request URL: http://reviewboard.near-time.com:8080/r/new/
Exception Type: SCMException
Exception Value: Unable to parse diff revision header '(rev 10958)'
Exception Location: /usr/share/reviewboard/scmtools/svn.py in
parse_diff_revision, line 40
What operating system are you using? What browser?
Linux / Firefox
Please provide any additional information below.
A similar problem occurs with svnlook diffs because they include a UTC
timestamp before the (rev ####). This could be ignored or stripped by the
parser.