convert: Fix unbound name error in the subversion backend
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 06 Mar 2008 22:23:41 +0100
changeset 6214 0f76c7dc8484
parent 6213 5c5e45766224
child 6215 cb0434795fcd
convert: Fix unbound name error in the subversion backend
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Thu Mar 06 22:23:41 2008 +0100
+++ b/hgext/convert/subversion.py	Thu Mar 06 22:23:41 2008 +0100
@@ -793,8 +793,7 @@
                     pass
         except SubversionException, (inst, num):
             if num == svn.core.SVN_ERR_FS_NO_SUCH_REVISION:
-                raise NoSuchRevision(branch=self,
-                    revision="Revision number %d" % to_revnum)
+                raise util.Abort('svn: branch has no revision %s' % to_revnum)
             raise
 
     def _getfile(self, file, rev):