diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -462,6 +462,17 @@ complete -o bashdefault -o default -F _h return 1 } +_hg_cmd_qqueue() +{ + local q + local queues + local opts="--list --create --delete" + + queues=$( _hg_cmd qqueue --quiet ) + + COMPREPLY=( $( compgen -W "${opts} ${queues}" "${cur}" ) ) +} + # hbisect _hg_cmd_bisect()