changeset 20127:6b771bcd1a62

bash_completion: remove restriction on bookmark completion Previously, we only completed a bookmark when deleting or renaming a bookmark. Since we can now move a bookmark forward, we drop this restriction.
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 20 Nov 2013 19:13:24 -0500
parents 25cb1d96c307
children 56108ee1edb6
files contrib/bash_completion
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/bash_completion	Wed Nov 20 14:45:18 2013 -0500
+++ b/contrib/bash_completion	Wed Nov 20 19:13:24 2013 -0500
@@ -318,10 +318,8 @@
 # bookmarks
 _hg_cmd_bookmarks()
 {
-    if [[ "$prev" = @(-d|--delete|-m|--rename) ]]; then
-        _hg_bookmarks
-        return
-    fi
+    _hg_bookmarks
+    return
 }
 
 # mq