--- a/hgext/shelve.py Fri Jan 08 12:35:02 2016 -0600
+++ b/hgext/shelve.py Tue Jan 05 22:23:27 2016 +0000
@@ -852,3 +852,5 @@
[shelvedstate._filename, False, False,
_('unshelve already in progress'),
_("use 'hg unshelve --continue' or 'hg unshelve --abort'")])
+ cmdutil.afterresolvedstates.append(
+ [shelvedstate._filename, _('hg unshelve --continue')])
--- a/tests/test-shelve.t Fri Jan 08 12:35:02 2016 -0600
+++ b/tests/test-shelve.t Tue Jan 05 22:23:27 2016 +0000
@@ -395,6 +395,7 @@
$ hg revert -r . a/a
$ hg resolve -m a/a
(no more unresolved files)
+ continue: hg unshelve --continue
$ hg commit -m 'commit while unshelve in progress'
abort: unshelve already in progress
@@ -840,6 +841,7 @@
reverting a/a (glob)
$ hg resolve -m a/a
(no more unresolved files)
+ continue: hg unshelve --continue
$ hg unshelve -c
rebasing 5:e42a7da90865 "changes to: second" (tip)
note: rebase of 5:e42a7da90865 created no changes to commit