# HG changeset patch # User Sean Farley # Date 2013-11-26 20:38:14 # Node ID 7c78c7eff119d377cfebab82a4eadffa37504acc # Parent da8fb88bd757f9e89d02c5a8a5f2391034c20294 bash_completion: add -B|--bookmark support for strip diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -408,6 +408,10 @@ complete -o bashdefault -o default -o no _hg_cmd_strip() { + if [[ "$prev" = @(-B|--bookmark) ]]; then + _hg_bookmarks + return + fi _hg_labels }