Show More
@@ -471,7 +471,7 b' typeset -A _hg_cmd_globals' | |||
|
471 | 471 | } |
|
472 | 472 | |
|
473 | 473 | _hg_cmd_addremove() { |
|
474 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts \ | |
|
474 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts $_hg_subrepos_opts \ | |
|
475 | 475 | '(--similarity -s)'{-s+,--similarity=}'[guess renamed files by similarity (0<=s<=100)]:similarity' \ |
|
476 | 476 | '*:unknown or missing files:_hg_addremove' |
|
477 | 477 | } |
@@ -803,7 +803,7 b' typeset -A _hg_cmd_globals' | |||
|
803 | 803 | } |
|
804 | 804 | |
|
805 | 805 | _hg_cmd_remove() { |
|
806 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts \ | |
|
806 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts $_hg_subrepos_opts \ | |
|
807 | 807 | '(--after -A)'{-A,--after}'[record delete for missing files]' \ |
|
808 | 808 | '(--force -f)'{-f,--force}'[forget added files, delete modified files]' \ |
|
809 | 809 | '*:file:_hg_files' |
@@ -870,7 +870,7 b' typeset -A _hg_cmd_globals' | |||
|
870 | 870 | } |
|
871 | 871 | |
|
872 | 872 | _hg_cmd_serve() { |
|
873 | _arguments -s -S : $_hg_global_opts \ | |
|
873 | _arguments -s -S : $_hg_global_opts $_hg_subrepos_opts \ | |
|
874 | 874 | '(--accesslog -A)'{-A+,--accesslog=}'[name of access log file to write to]:log file:_files' \ |
|
875 | 875 | '(--errorlog -E)'{-E+,--errorlog=}'[name of error log file to write to]:log file:_files' \ |
|
876 | 876 | '(--daemon -d)'{-d,--daemon}'[run server in background]' \ |
@@ -1046,7 +1046,7 b' typeset -A _hg_cmd_globals' | |||
|
1046 | 1046 | } |
|
1047 | 1047 | |
|
1048 | 1048 | _hg_cmd_qfold() { |
|
1049 | _arguments -s -S : $_hg_global_opts $_h_commit_opts \ | |
|
1049 | _arguments -s -S : $_hg_global_opts $_hg_commit_opts \ | |
|
1050 | 1050 | '(--keep -k)'{-k,--keep}'[keep folded patch files]' \ |
|
1051 | 1051 | '(--force -f)'{-f,--force}'[overwrite any local changes]' \ |
|
1052 | 1052 | '--no-backup[do not save backup copies of files]' \ |
@@ -1084,7 +1084,7 b' typeset -A _hg_cmd_globals' | |||
|
1084 | 1084 | } |
|
1085 | 1085 | |
|
1086 | 1086 | _hg_cmd_qnew() { |
|
1087 | _arguments -s -S : $_hg_global_opts $_hg_commit_opts $_hg_date_user_opts $_hg_gitlike_opts \ | |
|
1087 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_commit_opts $_hg_date_user_opts $_hg_gitlike_opts \ | |
|
1088 | 1088 | ':patch:' |
|
1089 | 1089 | } |
|
1090 | 1090 | |
@@ -1118,7 +1118,7 b' typeset -A _hg_cmd_globals' | |||
|
1118 | 1118 | } |
|
1119 | 1119 | |
|
1120 | 1120 | _hg_cmd_qrefresh() { |
|
1121 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_commit_opts $_hg_gitlike_opts \ | |
|
1121 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_commit_opts $_hg_date_user_opts $_hg_gitlike_opts \ | |
|
1122 | 1122 | '(--short -s)'{-s,--short}'[short refresh]' \ |
|
1123 | 1123 | '*:files:_hg_files' |
|
1124 | 1124 | } |
@@ -1194,7 +1194,7 b' typeset -A _hg_cmd_globals' | |||
|
1194 | 1194 | |
|
1195 | 1195 | # Rebase |
|
1196 | 1196 | _hg_cmd_rebase() { |
|
1197 | _arguments -s -S : $_hg_global_opts $_hg_commit_opts $_hg_mergetool_opts \ | |
|
1197 | _arguments -s -S : $_hg_global_opts $_hg_commit_opts $_hg_mergetool_opts $_hg_dryrun_opts \ | |
|
1198 | 1198 | '*'{-r+,--rev=}'[rebase these revisions]:revision:_hg_revrange' \ |
|
1199 | 1199 | '(--source -s --base -b)'{-s+,--source=}'[rebase the specified changeset and descendants]:revision:_hg_labels' \ |
|
1200 | 1200 | '(--source -s --base -b)'{-b+,--base=}'[rebase everything from branching point of specified changeset]:revision:_hg_labels' \ |
@@ -1241,7 +1241,7 b' typeset -A _hg_cmd_globals' | |||
|
1241 | 1241 | |
|
1242 | 1242 | # Purge |
|
1243 | 1243 | _hg_cmd_purge() { |
|
1244 |
_arguments -s -S : $_hg_global_opts $_hg_pat_opts |
|
|
1244 | _arguments -s -S : $_hg_global_opts $_hg_pat_opts \ | |
|
1245 | 1245 | '(--abort-on-err -a)'{-a,--abort-on-err}'[abort if an error occurs]' \ |
|
1246 | 1246 | '--all[purge ignored files too]' \ |
|
1247 | 1247 | '(--print -p)'{-p,--print}'[print filenames instead of deleting them]' \ |
General Comments 0
You need to be logged in to leave comments.
Login now