hgext/histedit.py
changeset 28123 6c1b7f80f90f
parent 28077 27ae22a4f9f9
child 28130 47317570ab8c
--- a/hgext/histedit.py	Thu Feb 04 03:46:38 2016 +0000
+++ b/hgext/histedit.py	Thu Feb 04 03:47:00 2016 +0000
@@ -279,7 +279,7 @@
         except IOError as err:
             if err.errno != errno.ENOENT:
                 raise
-            raise error.Abort(_('no histedit in progress'))
+            cmdutil.wrongtooltocontinue(self.repo, _('histedit'))
 
         if state.startswith('v1\n'):
             data = self._load()