diff contrib/bash_completion @ 18789:fff3a8114510

bash_completion: nuke a duplicated function
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 21 Mar 2013 09:13:16 -0700
parents 83a99f10c45c
children 1e28a7f58f33
line wrap: on
line diff
--- a/contrib/bash_completion	Thu Mar 21 08:56:21 2013 +0100
+++ b/contrib/bash_completion	Thu Mar 21 09:13:16 2013 -0700
@@ -294,13 +294,6 @@
 # Completion for commands provided by extensions
 
 # bookmarks
-_hg_bookmarks()
-{
-    local bookmarks="$(_hg_cmd bookmarks --quiet )"
-    local IFS=$'\n'
-    COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$bookmarks' -- "$cur"))
-}
-
 _hg_cmd_bookmarks()
 {
     if [[ "$prev" = @(-d|--delete|-m|--rename) ]]; then