Fix issue 563: error in _hg_commit in the contrib/zsh_completion script.
authorHenri Precheur <henry@precheur.org>
Sun, 20 May 2007 19:27:14 +0200
changeset 4441 2d3379c598c1
parent 4440 2d32e3ae01a7
child 4449 7eb604da8764
child 4451 671158f060cc
Fix issue 563: error in _hg_commit in the contrib/zsh_completion script.
contrib/zsh_completion
--- a/contrib/zsh_completion	Sat May 19 22:47:01 2007 +0200
+++ b/contrib/zsh_completion	Sun May 20 19:27:14 2007 +0200
@@ -380,7 +380,7 @@
   _arguments -s -w : $_hg_global_opts $_hg_pat_opts \
   '(--addremove -A)'{-A,--addremove}'[mark new/missing files as added/removed before committing]' \
   '(--message -m)'{-m+,--message}'[use <text> as commit message]:text:' \
-  '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_file -g \*.txt' \
+  '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt' \
   '(--date -d)'{-d+,--date}'[record datecode as commit date]:date code:' \
   '(--user -u)'{-u+,--user}'[record user as commiter]:user:' \
   '*:file:_hg_files'