comparison mercurial/shelve.py @ 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 3de4f17f4824
children 8ddfdcce4bd6
comparison
equal deleted inserted replaced
42559:a80464e85ddd 42560:70f1a84d0794
843 if intersection: 843 if intersection:
844 m = _("shelved change touches missing files") 844 m = _("shelved change touches missing files")
845 hint = _("run hg status to see which files are missing") 845 hint = _("run hg status to see which files are missing")
846 raise error.Abort(m, hint=hint) 846 raise error.Abort(m, hint=hint)
847 847
848 def _dounshelve(ui, repo, *shelved, **opts): 848 def dounshelve(ui, repo, *shelved, **opts):
849 opts = pycompat.byteskwargs(opts) 849 opts = pycompat.byteskwargs(opts)
850 abortf = opts.get('abort') 850 abortf = opts.get('abort')
851 continuef = opts.get('continue') 851 continuef = opts.get('continue')
852 if not abortf and not continuef: 852 if not abortf and not continuef:
853 cmdutil.checkunfinished(repo) 853 cmdutil.checkunfinished(repo)