Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 42616:5162753c4c14
unshelve: add interactive mode
Until now, there is no way to `unshelve` selected changes only from
the stored shelve as given in issue6162. This patch makes `unshelve`
perform with certain changes only by adding an interactive mode.
Differential Revision: https://phab.mercurial-scm.org/D6596
author | Navaneeth Suresh <navaneeths1998@gmail.com> |
---|---|
date | Tue, 02 Jul 2019 18:02:12 +0530 |
parents | 117437f3f541 |
children | 74ba82abbf29 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Jul 07 10:54:41 2019 -0400 +++ b/mercurial/commands.py Tue Jul 02 18:02:12 2019 +0530 @@ -6168,6 +6168,8 @@ _('abort an incomplete unshelve operation')), ('c', 'continue', None, _('continue an incomplete unshelve operation')), + ('i', 'interactive', None, + _('use interactive mode')), ('k', 'keep', None, _('keep shelve after unshelving')), ('n', 'name', '', @@ -6175,7 +6177,7 @@ ('t', 'tool', '', _('specify merge tool')), ('', 'date', '', _('set date for temporary commits (DEPRECATED)'), _('DATE'))], - _('hg unshelve [[-n] SHELVED]'), + _('hg unshelve [OPTION]... [FILE]... [-n SHELVED]'), helpcategory=command.CATEGORY_WORKING_DIRECTORY) def unshelve(ui, repo, *shelved, **opts): """restore a shelved change to the working directory