diff mercurial/commands.py @ 44602:47c1226463a1

shelve: split up dounshelve() in unshelvecmd() and _dounshelve() I'd like to be able to override the new `_dounshelve()`, getting access to the name of the shelve to unshelve. `unshelvecmd()` seems to better match the existing `createcmd()`, `listcmd()` etc. Differential Revision: https://phab.mercurial-scm.org/D8322
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 23 Mar 2020 15:14:42 -0700
parents bd7b2c8d06cc
children 1b8fd4af3318
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Mar 24 17:55:59 2020 +0100
+++ b/mercurial/commands.py	Mon Mar 23 15:14:42 2020 -0700
@@ -7585,7 +7585,7 @@
        unshelved.
     """
     with repo.wlock():
-        return shelvemod.dounshelve(ui, repo, *shelved, **opts)
+        return shelvemod.unshelvecmd(ui, repo, *shelved, **opts)
 
 
 statemod.addunfinished(