mercurial/repair.py
changeset 26587 56b2bcea2529
parent 26425 eb21b6679dc6
child 26624 bcace0fbb4c8
--- a/mercurial/repair.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/mercurial/repair.py	Thu Oct 08 12:55:45 2015 -0700
@@ -15,6 +15,7 @@
 from . import (
     bundle2,
     changegroup,
+    error,
     exchange,
     util,
 )
@@ -156,7 +157,7 @@
     if curtr is not None:
         del curtr  # avoid carrying reference to transaction for nothing
         msg = _('programming error: cannot strip from inside a transaction')
-        raise util.Abort(msg, hint=_('contact your extension maintainer'))
+        raise error.Abort(msg, hint=_('contact your extension maintainer'))
 
     tr = repo.transaction("strip")
     offset = len(tr.entries)