comparison contrib/bash_completion @ 9840:18d5935c0c62

Add missing bash_completion for qfinish
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 12 Nov 2009 12:46:00 +0100
parents fc493cb90bb1
children 64a6a896e5fb
comparison
equal deleted inserted replaced
9839:0a3fc37261ab 9840:18d5935c0c62
351 local qcmd=qunapplied 351 local qcmd=qunapplied
352 if [[ "$prev" = @(-r|--rev) ]]; then 352 if [[ "$prev" = @(-r|--rev) ]]; then
353 qcmd=qapplied 353 qcmd=qapplied
354 fi 354 fi
355 _hg_ext_mq_patchlist $qcmd 355 _hg_ext_mq_patchlist $qcmd
356 }
357
358 _hg_cmd_qfinish()
359 {
360 if [[ "$prev" = @(-a|--applied) ]]; then
361 return
362 fi
363 _hg_ext_mq_patchlist qapplied
356 } 364 }
357 365
358 _hg_cmd_qsave() 366 _hg_cmd_qsave()
359 { 367 {
360 if [[ "$prev" = @(-n|--name) ]]; then 368 if [[ "$prev" = @(-n|--name) ]]; then