changeset 24872:3510ec97ffdc stable

shelve: make the interactive mode experimental While fixing issue4304: "record: allow editing new files" we introduced changes in record/crecord. These changes need to be matched with changes in any command using record. Shelve is one of these commands and the changes have not been made for this release. Therefore, shelve -i should be an experimental feature for this release.
author Laurent Charignon <lcharignon@fb.com>
date Mon, 27 Apr 2015 15:36:10 -0700
parents 117b9a101f71
children 12908cdbab73
files hgext/shelve.py tests/test-shelve.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/shelve.py	Mon Apr 27 15:12:41 2015 -0700
+++ b/hgext/shelve.py	Mon Apr 27 15:36:10 2015 -0700
@@ -658,7 +658,8 @@
           ('p', 'patch', None,
            _('show patch')),
           ('i', 'interactive', None,
-           _('interactive mode, only works while creating a shelve')),
+           _('interactive mode, only works while creating a shelve'
+                   '(EXPERIMENTAL)')),
           ('', 'stat', None,
            _('output diffstat-style summary of changes'))] + commands.walkopts,
          _('hg shelve [OPTION]... [FILE]...'))
--- a/tests/test-shelve.t	Mon Apr 27 15:12:41 2015 -0700
+++ b/tests/test-shelve.t	Mon Apr 27 15:36:10 2015 -0700
@@ -60,7 +60,6 @@
    -m --message TEXT        use text as shelve message
    -n --name NAME           use the given name for the shelved commit
    -p --patch               show patch
-   -i --interactive         interactive mode, only works while creating a shelve
       --stat                output diffstat-style summary of changes
    -I --include PATTERN [+] include names matching the given patterns
    -X --exclude PATTERN [+] exclude names matching the given patterns