diff contrib/bash_completion @ 23762:0390cc327dd5

debugnamecomplete: rename from debuglabelcomplete Now that we have decided on the use of 'name' instead of 'label' we rename this function accordingly. The old method 'debuglabelcomplete' has been left as a deprecated command so that current scripts don't break.
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 17 Oct 2014 13:41:29 -0700
parents 28ecdf3fa1db
children 8aacac09e222
line wrap: on
line diff
--- a/contrib/bash_completion	Mon Dec 22 09:07:37 2014 -0800
+++ b/contrib/bash_completion	Fri Oct 17 13:41:29 2014 -0700
@@ -110,7 +110,7 @@
 
 _hg_labels()
 {
-    local labels="$(_hg_cmd debuglabelcomplete "$cur")"
+    local labels="$(_hg_cmd debugnamecomplete "$cur")"
     local IFS=$'\n'
     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$labels' -- "$cur"))
 }