[PATCH] zsh_completion: add '--partial' flag to completions for 'import' (issue5618)
Martin Tietze
mtietze at gmx.com
Wed Jul 12 15:45:45 UTC 2017
# HG changeset patch
# User Martin Tietze <mtietze at gmx.com>
# Date 1499847062 -7200
# Wed Jul 12 10:11:02 2017 +0200
# Node ID 879903976b5ca11dc2cc0ec6c4f2d8bc2576fc5e
# Parent 062c1bde178118b7c4d5abb1ead16ac8ad494280
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 062c1bde1781 -r 879903976b5c contrib/zsh_completion
--- a/contrib/zsh_completion Sun Jul 09 16:38:04 2017 -0400
+++ 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:' \
More information about the Mercurial-devel
mailing list