Updated SVNTool.parse_diff_revision to handle possible whitespace in front of revision argument

Review Request #441 — Created July 8, 2008 and submitted

Information

Review Board SVN (deprecated)
trunk

Reviewers

The regular expression in SVNTool didn't like revision lines that had only whitespace between the file and revision arguments.  Like this one that came from svnlook on a revision that contained a new file:

Added: trunk/thingie/more
===================================================================
--- trunk/thingie/more	                        (rev 0)
+++ trunk/thingie/more	2008-07-07 22:36:27 UTC (rev 4)
Unit tests updated.  ./manage.py test scmtools  passed.
chipx86
  1. Looks good. Committed as r1395.
  2.