##// END OF EJS Templates
zsh completion: add hg branch
Brendan Cully -
r8985:a04c1ab2 default
parent child Browse files
Show More
@@ -424,6 +424,12 b' typeset -A _hg_cmd_globals'
424 '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt'
424 '(--logfile -l)'{-l+,--logfile}'[read commit message from <file>]:log file:_files -g \*.txt'
425 }
425 }
426
426
427 _hg_cmd_branch() {
428 _arguments -s -w : $_hg_global_opts \
429 '(--force -f)'{-f,--force}'[set branch name even if it shadows an existing branch]' \
430 '(--clean -C)'{-C,--clean}'[reset branch name to parent branch name]'
431 }
432
427 _hg_cmd_branches() {
433 _hg_cmd_branches() {
428 _arguments -s -w : $_hg_global_opts \
434 _arguments -s -w : $_hg_global_opts \
429 '(--active -a)'{-a,--active}'[show only branches that have unmerge heads]'
435 '(--active -a)'{-a,--active}'[show only branches that have unmerge heads]'
General Comments 0
You need to be logged in to leave comments. Login now