D6605: unshelve: rename _dounshelve() to dounshelve()
navaneeth.suresh (Navaneeth Suresh)
phabricator at mercurial-scm.org
Thu Jul 4 17:48:43 UTC 2019
navaneeth.suresh created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This is a follow-up patch to 3de4f17f4824 <https://phab.mercurial-scm.org/rHG3de4f17f4824f3943d7269036c6eab304cd665d9>.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6605
AFFECTED FILES
mercurial/commands.py
mercurial/shelve.py
CHANGE DETAILS
diff --git a/mercurial/shelve.py b/mercurial/shelve.py
--- a/mercurial/shelve.py
+++ b/mercurial/shelve.py
@@ -890,7 +890,7 @@
hint = _("run hg status to see which files are missing")
raise error.Abort(m, hint=hint)
-def _dounshelve(ui, repo, *shelved, **opts):
+def dounshelve(ui, repo, *shelved, **opts):
opts = pycompat.byteskwargs(opts)
abortf = opts.get('abort')
continuef = opts.get('continue')
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -6206,7 +6206,7 @@
prevents from deciding exact order of them, for safety.
"""
with repo.wlock():
- return shelvemod._dounshelve(ui, repo, *shelved, **opts)
+ return shelvemod.dounshelve(ui, repo, *shelved, **opts)
@command('update|up|checkout|co',
[('C', 'clean', None, _('discard uncommitted changes (no backup)')),
To: navaneeth.suresh, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list