--- 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)