changeset 21719:28ecdf3fa1db

bash_completion: add -l|--list support for shelve This was overlooked previously and found via 'hg shelve -p -l <tab>' (to show the diff of the shelved commit).
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 06 Jun 2014 00:21:46 -0500
parents bc773e9505e3
children db2392a4effc
files contrib/bash_completion
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/bash_completion	Sat May 31 21:21:06 2014 +0900
+++ b/contrib/bash_completion	Fri Jun 06 00:21:46 2014 -0500
@@ -629,7 +629,7 @@
 
 _hg_cmd_shelve()
 {
-    if [[ "$prev" = @(-d|--delete) ]]; then
+    if [[ "$prev" = @(-d|--delete|-l|--list) ]]; then
         _hg_shelves
     else
         _hg_status "mard"