hgext/convert/subversion.py
changeset 17053 0e4171fdb9d4
parent 17052 1bd18c415eec
child 17247 6d51a0c71d4e
--- a/hgext/convert/subversion.py	Thu Jun 28 03:41:37 2012 +0200
+++ b/hgext/convert/subversion.py	Fri Jun 29 01:51:48 2012 +0200
@@ -120,6 +120,10 @@
     """Fetch SVN log in a subprocess and channel them back to parent to
     avoid memory collection issues.
     """
+    if svn is None:
+        raise util.Abort(_('debugsvnlog could not load Subversion python '
+                           'bindings'))
+
     util.setbinary(sys.stdin)
     util.setbinary(sys.stdout)
     args = decodeargs(sys.stdin.read())