Index: scmtools/core.py
===================================================================
--- scmtools/core.py (revision 1030)
+++ scmtools/core.py (working copy)
@@ -24,6 +24,8 @@
else:
msg = "The file '%s' (r%s) could not be found in the repository" \
% (path, revision)
+ if detail:
+ msg += ': ' + detail
Exception.__init__(self, msg)
self.revision = revision
Index: scmtools/hg.py
===================================================================
--- scmtools/hg.py (revision 1030)
+++ scmtools/hg.py (working copy)
@@ -1,3 +1,5 @@
+import urllib2
+
from reviewboard.diffviewer.parser import DiffParser, DiffParserError
from reviewboard.scmtools.core import \
FileNotFoundError, SCMTool, HEAD, PRE_CREATION
@@ -5,7 +7,10 @@
class HgTool(SCMTool):
def __init__(self, repository):
SCMTool.__init__(self, repository)
- self.client = HgClient(repository.path)
+ if repository.path.s