Patchwork D6654: shelve: modify help text on --interactive

login
register
mail settings
Submitter phabricator
Date July 18, 2019, 3:45 p.m.
Message ID <differential-rev-PHID-DREV-tlmwp6kgtw76jqgaix64-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/40968/
State Superseded
Headers show

Comments

phabricator - July 18, 2019, 3:45 p.m.
navaneeth.suresh created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  We now have `unshelve --interactive` after rHG5162753c4c14 <https://phab.mercurial-scm.org/rHG5162753c4c14c143e6be011b89d6567b5ef50d66>.
  So, the help text on `shelve --interactive` suggesting that it
  only works for `shelve` can be removed.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6654

AFFECTED FILES
  mercurial/commands.py
  tests/test-shelve.t

CHANGE DETAILS




To: navaneeth.suresh, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-shelve.t b/tests/test-shelve.t
--- a/tests/test-shelve.t
+++ b/tests/test-shelve.t
@@ -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)
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5334,7 +5334,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)')