##// END OF EJS Templates
zsh completion: update bisect for builtin syntax
Brendan Cully -
r8986:7f349588 default
parent child Browse files
Show More
@@ -424,6 +424,16 b' typeset -A _hg_cmd_globals'
424 424 '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt'
425 425 }
426 426
427 _hg_cmd_bisect() {
428 _arguments -s -w : $_hg_global_opts \
429 '(-)'{-r,--reset}'[reset bisect state]' \
430 '(--good -g --bad -b --skip -s --reset -r)'{-g,--good}'[mark changeset good]'::revision:_hg_tags \
431 '(--good -g --bad -b --skip -s --reset -r)'{-b,--bad}'[mark changeset bad]'::revision:_hg_tags \
432 '(--good -g --bad -b --skip -s --reset -r)'{-s,--skip}'[skip testing changeset]' \
433 '(--command -c --noupdate -U)'{-c+,--command}'[use command to check changeset state]':commands:_command_names \
434 '(--command -c --noupdate -U)'{-U,--noupdate}'[do not update to target]'
435 }
436
427 437 _hg_cmd_branch() {
428 438 _arguments -s -w : $_hg_global_opts \
429 439 '(--force -f)'{-f,--force}'[set branch name even if it shadows an existing branch]' \
@@ -592,7 +602,7 b' typeset -A _hg_cmd_globals'
592 602 _hg_cmd_merge() {
593 603 _arguments -s -w : $_hg_global_opts \
594 604 '(--force -f)'{-f,--force}'[force a merge with outstanding changes]' \
595 '(--rev -r)'{-r,--rev}'[revision to merge]:revision:_hg_tags' \
605 '(--rev -r 1)'{-r,--rev}'[revision to merge]:revision:_hg_mergerevs' \
596 606 '(--preview -P)'{-P,--preview}'[review revisions to merge (no merge is performed)]' \
597 607 ':revision:_hg_mergerevs'
598 608 }
@@ -752,11 +762,6 b' typeset -A _hg_cmd_globals'
752 762 ':revision:_hg_tags'
753 763 }
754 764
755 # bisect extension
756 _hg_cmd_bisect() {
757 _arguments -s -w : $_hg_global_opts ':evaluation:(help init reset next good bad)'
758 }
759
760 765 # HGK
761 766 _hg_cmd_view() {
762 767 _arguments -s -w : $_hg_global_opts \
General Comments 0
You need to be logged in to leave comments. Login now