shelve: new keep option
Does nothing yet. The docstring describes what it will soon be doing.
--- a/hgext/shelve.py Thu Mar 21 21:40:22 2019 -0400
+++ b/hgext/shelve.py Fri Mar 22 11:24:23 2019 -0400
@@ -1055,6 +1055,8 @@
_('delete the named shelved change(s)')),
('e', 'edit', False,
_('invoke editor on commit messages')),
+ ('k', 'keep', False,
+ _('shelve, but keep changes in the working directory')),
('l', 'list', None,
_('list current shelves')),
('m', 'message', '',
--- a/tests/test-shelve.t Thu Mar 21 21:40:22 2019 -0400
+++ b/tests/test-shelve.t Fri Mar 22 11:24:23 2019 -0400
@@ -76,6 +76,7 @@
--date DATE shelve with the specified commit date
-d --delete delete the named shelved change(s)
-e --edit invoke editor on commit messages
+ -k --keep shelve, but keep changes in the working directory
-l --list list current shelves
-m --message TEXT use text as shelve message
-n --name NAME use the given name for the shelved commit