-
-
trunk/reviewboard/scmtools/hg.py (Diff revision 2) How I'd rather see this done is to try to import quote from urllib2 and, if there's an ImportError, import it from urllib.
Python 2.4 does not have the quote command in urllib2
Review Request #550 — Created Sept. 17, 2008 and submitted
Information | |
---|---|
benoit | |
Review Board SVN (deprecated) | |
653 | |
Reviewers | |
reviewboard | |
I got a traceback when viewing a patch submited from a Mercurial repository on my debian etch machine. This patch solve this issue.
Works home.
BE
-
Version two.
-
trunk/reviewboard/scmtools/hg.py (Diff revision 3) There might be a better way to check the availability of the command.
-
trunk/reviewboard/scmtools/hg.py (Diff revision 3) This might be seen as dirty ... but has the advantage of solving it everywhere in one line.