# HG changeset patch # User Martin Tietze # Date 1499847062 -7200 # Node ID 9212fd0039938fc41a5232aaf58ae47c303144b7 # Parent f793e535b4b9ee6e6eaa19b0a5028e6d6c154ce2 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. diff -r f793e535b4b9 -r 9212fd003993 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:' \