changeset 6214:0f76c7dc8484

convert: Fix unbound name error in the subversion backend
author Joel Rosdahl <joel@rosdahl.net>
date Thu, 06 Mar 2008 22:23:41 +0100
parents 5c5e45766224
children cb0434795fcd
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):