# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1553268263 14400 # Node ID 22278dae287c74017c5d5ad829ba0d5f70008bd1 # Parent db26dbbee74de9cbced507fd9466de42457f0ea5 shelve: new keep option Does nothing yet. The docstring describes what it will soon be doing. diff -r db26dbbee74d -r 22278dae287c hgext/shelve.py --- 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', '', diff -r db26dbbee74d -r 22278dae287c tests/test-shelve.t --- 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