Mercurial > public > mercurial-scm > hg
diff contrib/zsh_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 | 8d43c6bb38c0 |
children | 33e8a5a00007 |
line wrap: on
line diff
--- a/contrib/zsh_completion Mon Dec 22 09:07:37 2014 -0800 +++ b/contrib/zsh_completion Fri Oct 17 13:41:29 2014 -0700 @@ -163,7 +163,7 @@ } _hg_labels() { - labels=("${(f)$(_hg_cmd debuglabelcomplete)}") + labels=("${(f)$(_hg_cmd debugnamecomplete)}") (( $#labels )) && _describe -t labels 'labels' labels }