contrib/bash_completion
changeset 20134 bc9735855598
parent 20133 f6c33fc59dbd
child 20135 e39bd4b7be78
--- a/contrib/bash_completion	Tue Nov 26 14:04:12 2013 -0600
+++ b/contrib/bash_completion	Tue Nov 26 14:31:40 2013 -0600
@@ -248,6 +248,13 @@
                 fi
                 return 1
             ;;
+            -B|--bookmark)
+                if [[ $canonical = 1 || status != "$cmd"* ]]; then
+                    _hg_bookmarks
+                    return 0
+                fi
+                return 1
+            ;;
         esac
     fi