contrib/bash_completion
changeset 3482 e762c0e95eac
parent 3481 13a9a2136dd7
child 3483 34cc82c6c7c2
equal deleted inserted replaced
3481:13a9a2136dd7 3482: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