changeset 20130:7c78c7eff119

bash_completion: add -B|--bookmark support for strip
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 26 Nov 2013 14:38:14 -0600
parents da8fb88bd757
children 56df59cc4212
files contrib/bash_completion
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/bash_completion	Fri Nov 22 14:58:41 2013 -0500
+++ b/contrib/bash_completion	Tue Nov 26 14:38:14 2013 -0600
@@ -408,6 +408,10 @@
 
 _hg_cmd_strip()
 {
+    if [[ "$prev" = @(-B|--bookmark) ]]; then
+        _hg_bookmarks
+        return
+    fi
     _hg_labels
 }