equal
deleted
inserted
replaced
27 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur")) |
27 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur")) |
28 } |
28 } |
29 |
29 |
30 _hg_tags() |
30 _hg_tags() |
31 { |
31 { |
32 local tags="$("$hg" tags 2>/dev/null | |
32 local tags="$("$hg" tags -q 2>/dev/null)" |
33 sed -e 's/[0-9]*:[a-f0-9]\{40\}$//; s/ *$//')" |
33 local IFS=$'\n' |
34 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$tags' -- "$cur")) |
34 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$tags' -- "$cur")) |
35 } |
35 } |
36 |
36 |
37 # this is "kind of" ugly... |
37 # this is "kind of" ugly... |
38 _hg_count_non_option() |
38 _hg_count_non_option() |