--- a/mercurial/shelve.py Tue Jul 16 01:59:28 2019 +0530
+++ b/mercurial/shelve.py Wed Jul 17 22:24:17 2019 +0530
@@ -751,6 +751,12 @@
unshelvecleanup(ui, repo, state.name, opts)
ui.status(_("unshelve of '%s' complete\n") % state.name)
+def hgcontinueunshelve(ui, repo):
+ """logic to resume unshelve using 'hg continue'"""
+ with repo.wlock():
+ state = _loadshelvedstate(ui, repo, {'continue' : True})
+ return unshelvecontinue(ui, repo, state, {'keep' : state.keep})
+
def _commitworkingcopychanges(ui, repo, opts, tmpwctx):
"""Temporarily commit working copy changes before moving unshelve commit"""
# Store pending changes in a commit and remember added in case a shelve