# HG changeset patch # User Sean Farley # Date 1385064892 18000 # Node ID 56108ee1edb620e5d61b89900529e8aa5cea447d # Parent 6b771bcd1a6203710fb832b99f1257f11f93de80 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. diff -r 6b771bcd1a62 -r 56108ee1edb6 contrib/bash_completion --- 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")) }