contrib/zsh_completion
changeset 19029 b5ca14163742
parent 18903 5df602551eea
child 23091 8d43c6bb38c0
equal deleted inserted replaced
19028:b512934988d4 19029:b5ca14163742
   495     '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   495     '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   496     '--parent[parent to choose when backing out merge]' \
   496     '--parent[parent to choose when backing out merge]' \
   497     '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   497     '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   498     '(--rev -r)'{-r+,--rev}'[revision]:revision:_hg_labels' \
   498     '(--rev -r)'{-r+,--rev}'[revision]:revision:_hg_labels' \
   499     '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
   499     '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
   500     '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt'
   500     '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files'
   501 }
   501 }
   502 
   502 
   503 _hg_cmd_bisect() {
   503 _hg_cmd_bisect() {
   504   _arguments -s -w : $_hg_global_opts \
   504   _arguments -s -w : $_hg_global_opts \
   505   '(-)'{-r,--reset}'[reset bisect state]' \
   505   '(-)'{-r,--reset}'[reset bisect state]' \
   563 
   563 
   564 _hg_cmd_commit() {
   564 _hg_cmd_commit() {
   565   _arguments -s -w : $_hg_global_opts $_hg_pat_opts $_hg_subrepos_opts \
   565   _arguments -s -w : $_hg_global_opts $_hg_pat_opts $_hg_subrepos_opts \
   566   '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \
   566   '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \
   567   '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
   567   '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
   568   '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt' \
   568   '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files' \
   569   '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   569   '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   570   '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   570   '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   571   '--amend[amend the parent of the working dir]' \
   571   '--amend[amend the parent of the working dir]' \
   572   '--close-branch[mark a branch as closed]' \
   572   '--close-branch[mark a branch as closed]' \
   573   '*:file:_hg_files'
   573   '*:file:_hg_files'