contrib/zsh_completion
changeset 17403 02ed64caddc4
parent 17402 f6851cd94211
child 18419 45bb5df43b81
equal deleted inserted replaced
17402:f6851cd94211 17403:02ed64caddc4
   687 
   687 
   688 _hg_cmd_incoming() {
   688 _hg_cmd_incoming() {
   689   _arguments -s -w : $_hg_log_opts $_hg_branch_bmark_opts $_hg_remote_opts \
   689   _arguments -s -w : $_hg_log_opts $_hg_branch_bmark_opts $_hg_remote_opts \
   690                      $_hg_subrepos_opts \
   690                      $_hg_subrepos_opts \
   691   '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \
   691   '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \
   692   '(--rev -r)'{-r+,--rev}'[a specific revision up to which you would like to pull]:revision:_hg_tags' \
   692   '(--rev -r)'{-r+,--rev}'[a specific revision up to which you would like to pull]:revision:_hg_labels' \
   693   '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \
   693   '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \
   694   '--bundle[file to store the bundles into]:bundle file:_files' \
   694   '--bundle[file to store the bundles into]:bundle file:_files' \
   695   ':source:_hg_remote'
   695   ':source:_hg_remote'
   696 }
   696 }
   697 
   697 
   741 
   741 
   742 _hg_cmd_outgoing() {
   742 _hg_cmd_outgoing() {
   743   _arguments -s -w : $_hg_log_opts $_hg_branch_bmark_opts $_hg_remote_opts \
   743   _arguments -s -w : $_hg_log_opts $_hg_branch_bmark_opts $_hg_remote_opts \
   744                      $_hg_subrepos_opts \
   744                      $_hg_subrepos_opts \
   745   '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \
   745   '(--force -f)'{-f,--force}'[run even when the remote repository is unrelated]' \
   746   '(--rev -r)'{-r+,--rev}'[a specific revision you would like to push]' \
   746   '*'{-r,--rev}'[a specific revision you would like to push]:revision:_hg_revrange' \
   747   '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \
   747   '(--newest-first -n)'{-n,--newest-first}'[show newest record first]' \
   748   ':destination:_hg_remote'
   748   ':destination:_hg_remote'
   749 }
   749 }
   750 
   750 
   751 _hg_cmd_parents() {
   751 _hg_cmd_parents() {
  1167 
  1167 
  1168 # Rebase
  1168 # Rebase
  1169 _hg_cmd_rebase() {
  1169 _hg_cmd_rebase() {
  1170   _arguments -s -w : $_hg_global_opts $_hg_commit_opts $_hg_mergetool_opts \
  1170   _arguments -s -w : $_hg_global_opts $_hg_commit_opts $_hg_mergetool_opts \
  1171   '*'{-r,--rev}'[rebase these revisions]:revision:_hg_revrange' \
  1171   '*'{-r,--rev}'[rebase these revisions]:revision:_hg_revrange' \
  1172   '(--source -s)'{-s,--source}'[rebase from the specified changeset]:revision:_hg_labels' \
  1172   '(--source -s)'{-s+,--source}'[rebase from the specified changeset]:revision:_hg_labels' \
  1173   '(--base -b)'{-b,--base}'[rebase from the base of the specified changeset]:revision:_hg_labels' \
  1173   '(--base -b)'{-b+,--base}'[rebase from the base of the specified changeset]:revision:_hg_labels' \
  1174   '(--dest -d)'{-d,--dest}'[rebase onto the specified changeset]' \
  1174   '(--dest -d)'{-d+,--dest}'[rebase onto the specified changeset]:revision:_hg_labels' \
  1175   '--collapse[collapse the rebased changeset]' \
  1175   '--collapse[collapse the rebased changeset]' \
  1176   '--keep[keep original changeset]' \
  1176   '--keep[keep original changeset]' \
  1177   '--keepbranches[keep original branch name]' \
  1177   '--keepbranches[keep original branch name]' \
  1178   '(--continue -c)'{-c,--continue}'[continue an interrupted rebase]' \
  1178   '(--continue -c)'{-c,--continue}'[continue an interrupted rebase]' \
  1179   '(--abort -a)'{-a,--abort}'[abort an interrupted rebase]' \
  1179   '(--abort -a)'{-a,--abort}'[abort an interrupted rebase]' \