Show More
@@ -504,13 +504,13 b' typeset -A _hg_cmd_globals' | |||
|
504 | 504 | # MQ |
|
505 | 505 | _hg_qseries() { |
|
506 | 506 | typeset -a patches |
|
507 | patches=($(_hg_cmd qseries)) | |
|
507 | patches=($(_hg_cmd qseries 2>/dev/null)) | |
|
508 | 508 | (( $#patches )) && _describe -t hg-patches 'patches' patches |
|
509 | 509 | } |
|
510 | 510 | |
|
511 | 511 | _hg_qapplied() { |
|
512 | 512 | typeset -a patches |
|
513 | patches=($(_hg_cmd qapplied)) | |
|
513 | patches=($(_hg_cmd qapplied 2>/dev/null)) | |
|
514 | 514 | if (( $#patches )) |
|
515 | 515 | then |
|
516 | 516 | patches+=(qbase qtip) |
@@ -520,7 +520,7 b' typeset -A _hg_cmd_globals' | |||
|
520 | 520 | |
|
521 | 521 | _hg_qunapplied() { |
|
522 | 522 | typeset -a patches |
|
523 | patches=($(_hg_cmd qunapplied)) | |
|
523 | patches=($(_hg_cmd qunapplied 2>/dev/null)) | |
|
524 | 524 | (( $#patches )) && _describe -t hg-unapplied-patches 'unapplied patches' patches |
|
525 | 525 | } |
|
526 | 526 | |
@@ -528,7 +528,7 b' typeset -A _hg_cmd_globals' | |||
|
528 | 528 | typeset -a guards |
|
529 | 529 | local guard |
|
530 | 530 | compset -P "+|-" |
|
531 | _hg_cmd qselect -s | while read guard | |
|
531 | _hg_cmd qselect -s 2>/dev/null | while read guard | |
|
532 | 532 | do |
|
533 | 533 | guards+=(${guard#(+|-)}) |
|
534 | 534 | done |
General Comments 0
You need to be logged in to leave comments.
Login now