changeset 42560:70f1a84d0794

unshelve: rename _dounshelve() to dounshelve() This is a follow-up patch to 3de4f17f4824. Differential Revision: https://phab.mercurial-scm.org/D6605
author Navaneeth Suresh <navaneeths1998@gmail.com>
date Thu, 04 Jul 2019 21:29:28 +0530
parents a80464e85ddd
children 44e99811bea7
files mercurial/commands.py mercurial/shelve.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jul 01 15:07:31 2019 +0200
+++ b/mercurial/commands.py	Thu Jul 04 21:29:28 2019 +0530
@@ -6209,7 +6209,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)')),
--- a/mercurial/shelve.py	Mon Jul 01 15:07:31 2019 +0200
+++ b/mercurial/shelve.py	Thu Jul 04 21:29:28 2019 +0530
@@ -845,7 +845,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')