Show More
@@ -464,11 +464,6 b' typeset -A _hg_cmd_globals' | |||||
464 | '--insecure[do not verify server certificate (ignoring web.cacerts config)]' |
|
464 | '--insecure[do not verify server certificate (ignoring web.cacerts config)]' | |
465 | ) |
|
465 | ) | |
466 |
|
466 | |||
467 | _hg_branch_bmark_opts=( |
|
|||
468 | '(--bookmark -B)'{-B+,--bookmark=}'[specify bookmark(s)]:bookmark:_hg_bookmarks' |
|
|||
469 | '(--branch -b)'{-b+,--branch=}'[specify branch(es)]:branch:_hg_branches' |
|
|||
470 | ) |
|
|||
471 |
|
||||
472 | _hg_subrepos_opts=( |
|
467 | _hg_subrepos_opts=( | |
473 | '(--subrepos -S)'{-S,--subrepos}'[recurse into subrepositories]') |
|
468 | '(--subrepos -S)'{-S,--subrepos}'[recurse into subrepositories]') | |
474 |
|
469 | |||
@@ -726,12 +721,13 b' typeset -A _hg_cmd_globals' | |||||
726 | } |
|
721 | } | |
727 |
|
722 | |||
728 | _hg_cmd_incoming() { |
|
723 | _hg_cmd_incoming() { | |
729 |
_arguments -s -S : $_hg_log_opts $_hg_ |
|
724 | _arguments -s -S : $_hg_log_opts $_hg_remote_opts $_hg_subrepos_opts \ | |
730 | $_hg_subrepos_opts \ |
|
|||
731 | '(--force -f)'{-f,--force}'[run even if remote repository is unrelated]' \ |
|
725 | '(--force -f)'{-f,--force}'[run even if remote repository is unrelated]' \ | |
732 | '*'{-r+,--rev=}'[a remote changeset intended to be added]:revision:_hg_labels' \ |
|
726 | '*'{-r+,--rev=}'[a remote changeset intended to be added]:revision:_hg_labels' \ | |
733 | '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \ |
|
727 | '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \ | |
734 | '--bundle=[file to store the bundles into]:bundle file:_files' \ |
|
728 | '--bundle=[file to store the bundles into]:bundle file:_files' \ | |
|
729 | '(--bookmarks -B)'{-B,--bookmarks}'[compare bookmarks]' \ | |||
|
730 | '*'{-b+,--branch=}'[a specific branch you would like to pull]:branch:_hg_branches' \ | |||
735 | ':source:_hg_remote' |
|
731 | ':source:_hg_remote' | |
736 | } |
|
732 | } | |
737 |
|
733 | |||
@@ -779,11 +775,12 b' typeset -A _hg_cmd_globals' | |||||
779 | } |
|
775 | } | |
780 |
|
776 | |||
781 | _hg_cmd_outgoing() { |
|
777 | _hg_cmd_outgoing() { | |
782 |
_arguments -s -S : $_hg_log_opts $_hg_ |
|
778 | _arguments -s -S : $_hg_log_opts $_hg_remote_opts $_hg_subrepos_opts \ | |
783 | $_hg_subrepos_opts \ |
|
|||
784 | '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \ |
|
779 | '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \ | |
785 | '*'{-r+,--rev=}'[a changeset intended to be included in the destination]:revision:_hg_revrange' \ |
|
780 | '*'{-r+,--rev=}'[a changeset intended to be included in the destination]:revision:_hg_revrange' \ | |
786 | '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \ |
|
781 | '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \ | |
|
782 | '(--bookmarks -B)'{-B,--bookmarks}'[compare bookmarks]' \ | |||
|
783 | '*'{-b+,--branch=}'[a specific branch you would like to push]:branch:_hg_branches' \ | |||
787 | ':destination:_hg_remote' |
|
784 | ':destination:_hg_remote' | |
788 | } |
|
785 | } | |
789 |
|
786 | |||
@@ -809,17 +806,21 b' typeset -A _hg_cmd_globals' | |||||
809 | } |
|
806 | } | |
810 |
|
807 | |||
811 | _hg_cmd_pull() { |
|
808 | _hg_cmd_pull() { | |
812 |
_arguments -s -S : $_hg_global_opts $_hg_ |
|
809 | _arguments -s -S : $_hg_global_opts $_hg_remote_opts \ | |
813 | '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \ |
|
810 | '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \ | |
814 | '(--update -u)'{-u,--update}'[update to new branch head if new descendants were pulled]' \ |
|
811 | '(--update -u)'{-u,--update}'[update to new branch head if new descendants were pulled]' \ | |
815 | '*'{-r+,--rev=}'[a remote changeset intended to be added]:revision:_hg_labels' \ |
|
812 | '*'{-r+,--rev=}'[a remote changeset intended to be added]:revision:_hg_labels' \ | |
|
813 | '*'{-B+,--bookmark=}'[bookmark to pull]:bookmark:_hg_bookmarks' \ | |||
|
814 | '*'{-b+,--branch=}'[a specific branch you would like to pull]:branch:_hg_branches' \ | |||
816 | ':source:_hg_remote' |
|
815 | ':source:_hg_remote' | |
817 | } |
|
816 | } | |
818 |
|
817 | |||
819 | _hg_cmd_push() { |
|
818 | _hg_cmd_push() { | |
820 |
_arguments -s -S : $_hg_global_opts $_hg_ |
|
819 | _arguments -s -S : $_hg_global_opts $_hg_remote_opts \ | |
821 | '(--force -f)'{-f,--force}'[force push]' \ |
|
820 | '(--force -f)'{-f,--force}'[force push]' \ | |
822 | '*'{-r+,--rev=}'[a changeset intended to be included in the destination]:revision:_hg_labels' \ |
|
821 | '*'{-r+,--rev=}'[a changeset intended to be included in the destination]:revision:_hg_labels' \ | |
|
822 | '*'{-B+,--bookmark=}'[bookmark to push]:bookmark:_hg_bookmarks' \ | |||
|
823 | '*'{-b+,--branch=}'[a specific branch you would like to push]:branch:_hg_branches' \ | |||
823 | '--new-branch[allow pushing a new branch]' \ |
|
824 | '--new-branch[allow pushing a new branch]' \ | |
824 | ':destination:_hg_remote' |
|
825 | ':destination:_hg_remote' | |
825 | } |
|
826 | } |
General Comments 0
You need to be logged in to leave comments.
Login now