changeset 33434:9212fd003993

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.
author Martin Tietze <mtietze@gmx.com>
date Wed, 12 Jul 2017 10:11:02 +0200
parents f793e535b4b9
children 456626e9c3d1
files contrib/zsh_completion
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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:' \