[PATCH] bash_completion: add -p|--patch|--stat support for shelve

Anton Shestakov av6 at dwimlabs.net
Tue Nov 10 12:01:56 UTC 2015


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1447156350 -28800
#      Tue Nov 10 19:52:30 2015 +0800
# Node ID 328437338dab87473f35a0ec64f11a73d2dd2b22
# Parent  8b2fbe3f59b1b969878691cb472369ad0067f165
bash_completion: add -p|--patch|--stat support for shelve

diff --git a/contrib/bash_completion b/contrib/bash_completion
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -629,7 +629,7 @@ complete -o bashdefault -o default -o no
 
 _hg_cmd_shelve()
 {
-    if [[ "$prev" = @(-d|--delete|-l|--list) ]]; then
+    if [[ "$prev" = @(-d|--delete|-l|--list|-p|--patch|--stat) ]]; then
         _hg_shelves
     else
         _hg_status "mard"


More information about the Mercurial-devel mailing list