hgext/rebase.py
changeset 28122 6025ddb4e649
parent 28118 0e3835c7e1cf
child 28136 5853878bbc2a
--- a/hgext/rebase.py	Thu Feb 04 03:45:44 2016 +0000
+++ b/hgext/rebase.py	Thu Feb 04 03:46:38 2016 +0000
@@ -915,7 +915,7 @@
     except IOError as err:
         if err.errno != errno.ENOENT:
             raise
-        raise error.Abort(_('no rebase in progress'))
+        cmdutil.wrongtooltocontinue(repo, _('rebase'))
 
     if keepbranches is None:
         raise error.Abort(_('.hg/rebasestate is incomplete'))