Mercurial > hg
diff hgext/shelve.py @ 28124:983365382465
shelve: suggest the correct tool to continue (not unshelve)
Suggest committing (or whatever the current activity is), via
wrongtooltocontinue which uses howtocontinue.
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 04 Feb 2016 03:47:38 +0000 |
parents | 1289a122cf3f |
children | 96a7368a79b6 |
line wrap: on
line diff
--- a/hgext/shelve.py Thu Feb 04 03:47:00 2016 +0000 +++ b/hgext/shelve.py Thu Feb 04 03:47:38 2016 +0000 @@ -628,7 +628,7 @@ except IOError as err: if err.errno != errno.ENOENT: raise - raise error.Abort(_('no unshelve operation underway')) + cmdutil.wrongtooltocontinue(repo, _('unshelve')) if abortf: return unshelveabort(ui, repo, state, opts)