D5141: zsh_completion: fix a couple of flags still not being perfect

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Wed Oct 17 18:14:41 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG01bdf7294274: zsh_completion: fix a couple of flags still not being perfect (authored by av6, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5141?vs=12214&id=12224

REVISION DETAIL
  https://phab.mercurial-scm.org/D5141

AFFECTED FILES
  contrib/zsh_completion

CHANGE DETAILS

diff --git a/contrib/zsh_completion b/contrib/zsh_completion
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -553,11 +553,11 @@
 _hg_cmd_bundle() {
   _arguments -s -S : $_hg_global_opts $_hg_remote_opts \
   '(--force -f)'{-f,--force}'[run even when the destination is unrelated]' \
-  '(2)*--base[a base changeset assumed to be available at the destination]:revision:_hg_labels' \
+  '(2)*--base=[a base changeset assumed to be available at the destination]:revision:_hg_labels' \
   '*'{-b+,--branch=}'[a specific branch you would like to bundle]:branch:_hg_branches' \
   '*'{-r+,--rev=}'[a changeset intended to be added to the destination]:revision:_hg_labels' \
   '(--all -a)'{-a,--all}'[bundle all changesets in the repository]' \
-  '--type[bundle compression type to use (default: bzip2)]:bundle type' \
+  '(--type -t)'{-t+,--type=}'[bundle compression type to use (default: bzip2)]:bundle type' \
   ':output file:_files' \
   ':destination repository:_files -/'
 }



To: av6, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list