diff -r 1378f20c8564 -r 325f03de849d hgext/shelve.py --- a/hgext/shelve.py Wed Mar 25 15:51:57 2015 -0700 +++ b/hgext/shelve.py Wed Mar 25 15:52:28 2015 -0700 @@ -226,6 +226,7 @@ raise util.Abort(_('shelved change names may not contain slashes')) if name.startswith('.'): raise util.Abort(_("shelved change names may not start with '.'")) + interactive = opts.get('interactive', False) node = cmdutil.commit(ui, repo, commitfunc, pats, opts) @@ -649,6 +650,8 @@ _('use the given name for the shelved commit'), _('NAME')), ('p', 'patch', None, _('show patch')), + ('i', 'interactive', None, + _('interactive mode, only works while creating a shelve')), ('', 'stat', None, _('output diffstat-style summary of changes'))] + commands.walkopts, _('hg shelve [OPTION]... [FILE]...'))