##// END OF EJS Templates
bash_completion: use correct command for listing shelves...
Sean Farley -
r20128:56108ee1 default
parent child Browse files
Show More
@@ -597,7 +597,7 b' complete -o bashdefault -o default -o no'
597 # shelve
597 # shelve
598 _hg_shelves()
598 _hg_shelves()
599 {
599 {
600 local shelves="$(_hg_cmd unshelve -l .)"
600 local shelves="$(_hg_cmd shelve -ql)"
601 local IFS=$'\n'
601 local IFS=$'\n'
602 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$shelves' -- "$cur"))
602 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$shelves' -- "$cur"))
603 }
603 }
General Comments 0
You need to be logged in to leave comments. Login now