Mercurial > hg > mercurial-crew-with-dirclash
comparison contrib/zsh_completion @ 4448:2d3379c598c1
Fix issue 563: error in _hg_commit in the contrib/zsh_completion script.
author | Henri Precheur <henry@precheur.org> |
---|---|
date | Sun, 20 May 2007 19:27:14 +0200 |
parents | 729f354f3f09 |
children | e21644bbf01e |
comparison
equal
deleted
inserted
replaced
4444:2d32e3ae01a7 | 4448:2d3379c598c1 |
---|---|
378 | 378 |
379 _hg_cmd_commit() { | 379 _hg_cmd_commit() { |
380 _arguments -s -w : $_hg_global_opts $_hg_pat_opts \ | 380 _arguments -s -w : $_hg_global_opts $_hg_pat_opts \ |
381 '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \ | 381 '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \ |
382 '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \ | 382 '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \ |
383 '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_file -g \*.txt' \ | 383 '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt' \ |
384 '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \ | 384 '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \ |
385 '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \ | 385 '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \ |
386 '*:file:_hg_files' | 386 '*:file:_hg_files' |
387 } | 387 } |
388 | 388 |