diff contrib/bash_completion @ 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 e39bd4b7be78
children 0390cc327dd5
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"