changeset 42623:9eace8d6d537

shelve: modify help text on --interactive We now have `unshelve --interactive` after rHG5162753c4c14. So, the help text on `shelve --interactive` suggesting that it only works for `shelve` can be removed. Differential Revision: https://phab.mercurial-scm.org/D6654
author Navaneeth Suresh <navaneeths1998@gmail.com>
date Thu, 18 Jul 2019 21:10:17 +0530
parents 74ba82abbf29
children 811e502d646d
files mercurial/commands.py tests/test-shelve.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Jul 18 20:54:26 2019 +0530
+++ b/mercurial/commands.py	Thu Jul 18 21:10:17 2019 +0530
@@ -5360,7 +5360,7 @@
            _('output patches for changes (provide the names of the shelved '
              'changes as positional arguments)')),
           ('i', 'interactive', None,
-           _('interactive mode, only works while creating a shelve')),
+           _('interactive mode')),
           ('', 'stat', None,
            _('output diffstat-style summary of changes (provide the names of '
              'the shelved changes as positional arguments)')
--- a/tests/test-shelve.t	Thu Jul 18 20:54:26 2019 +0530
+++ b/tests/test-shelve.t	Thu Jul 18 21:10:17 2019 +0530
@@ -79,7 +79,7 @@
    -n --name NAME           use the given name for the shelved commit
    -p --patch               output patches for changes (provide the names of the
                             shelved changes as positional arguments)
-   -i --interactive         interactive mode, only works while creating a shelve
+   -i --interactive         interactive mode
       --stat                output diffstat-style summary of changes (provide
                             the names of the shelved changes as positional
                             arguments)