Mercurial > hg > mercurial-crew-with-dirclash
comparison contrib/bash_completion @ 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 |
comparison
equal
deleted
inserted
replaced
3476:13a9a2136dd7 | 3477:e762c0e95eac |
---|---|
297 _hg_ext_mq_patchlist qunapplied | 297 _hg_ext_mq_patchlist qunapplied |
298 } | 298 } |
299 | 299 |
300 _hg_cmd_qdelete() | 300 _hg_cmd_qdelete() |
301 { | 301 { |
302 _hg_ext_mq_patchlist qunapplied | 302 local qcmd=qunapplied |
303 if [[ "$prev" = @(-r|--rev) ]]; then | |
304 qcmd=qapplied | |
305 fi | |
306 _hg_ext_mq_patchlist $qcmd | |
303 } | 307 } |
304 | 308 |
305 _hg_cmd_qsave() | 309 _hg_cmd_qsave() |
306 { | 310 { |
307 if [[ "$prev" = @(-n|--name) ]]; then | 311 if [[ "$prev" = @(-n|--name) ]]; then |