bash_completion: use correct command for listing shelves
Previously, _hg_shelves used the unshelve command to list current shelves. This
is actually the wrong command. The correct usage is 'hg shelve -l' so we use
that instead.
--- a/contrib/bash_completion Wed Nov 20 19:13:24 2013 -0500
+++ b/contrib/bash_completion Thu Nov 21 15:14:52 2013 -0500
@@ -597,7 +597,7 @@
# shelve
_hg_shelves()
{
- local shelves="$(_hg_cmd unshelve -l .)"
+ local shelves="$(_hg_cmd shelve -ql)"
local IFS=$'\n'
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$shelves' -- "$cur"))
}