Mercurial > hg > mercurial-crew-with-dirclash
changeset 3477:e762c0e95eac
bash_completion: qdelete --rev
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 22 Oct 2006 01:01:45 -0300 |
parents | 13a9a2136dd7 |
children | 34cc82c6c7c2 |
files | contrib/bash_completion |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -299,7 +299,11 @@ complete -o bashdefault -o default -F _h _hg_cmd_qdelete() { - _hg_ext_mq_patchlist qunapplied + local qcmd=qunapplied + if [[ "$prev" = @(-r|--rev) ]]; then + qcmd=qapplied + fi + _hg_ext_mq_patchlist $qcmd } _hg_cmd_qsave()