zsh_completion: add '--partial' flag to completions for 'import' (issue5618)
authorMartin Tietze <mtietze@gmx.com>
Wed, 12 Jul 2017 10:11:02 +0200
changeset 33434 9212fd003993
parent 33433 f793e535b4b9
child 33435 456626e9c3d1
zsh_completion: add '--partial' flag to completions for 'import' (issue5618) When using the 'import' command running ZSH together with its Mercurial-specific completions the flag '--partial' (introduced in Mercurial 3.1, 2014-08-01) is not offered as completion option. This patch adds it to the list of completions for the 'import' command.
contrib/zsh_completion
--- a/contrib/zsh_completion	Fri Jul 07 10:04:05 2017 +0200
+++ b/contrib/zsh_completion	Wed Jul 12 10:11:02 2017 +0200
@@ -672,6 +672,7 @@
   '(--force -f)'{-f,--force}'[skip check for outstanding uncommitted changes]' \
   '--bypass[apply patch without touching the working directory]' \
   '--no-commit[do not commit, just update the working directory]' \
+  '--partial[commit even if some hunks fail]' \
   '--exact[apply patch to the nodes from which it was generated]' \
   '--import-branch[use any branch information in patch (implied by --exact)]' \
   '(--date -d)'{-d+,--date=}'[record datecode as commit date]:date code:' \