D5140: zsh_completion: use $_hg_remote_opts after it is defined

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4c9418e3a7d3: zsh_completion: use $_hg_remote_opts after it is defined (authored by av6, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5140?vs=12213&id=12223

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

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
@@ -404,12 +404,6 @@
   '*'{-I+,--include=}'[include names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/'
   '*'{-X+,--exclude=}'[exclude names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/')
 
-_hg_clone_opts=(
-  $_hg_remote_opts
-  '(--noupdate -U)'{-U,--noupdate}'[do not update the new working directory]'
-  '--pull[use pull protocol to copy metadata]'
-  '--uncompressed[use uncompressed transfer (fast over LAN)]')
-
 _hg_date_user_opts=(
   '(--currentdate -D)'{-D,--currentdate}'[record the current date as commit date]'
   '(--currentuser -U)'{-U,--currentuser}'[record the current user as committer]'
@@ -464,6 +458,13 @@
   '--insecure[do not verify server certificate (ignoring web.cacerts config)]'
 )
 
+_hg_clone_opts=(
+  $_hg_remote_opts
+  '(--noupdate -U)'{-U,--noupdate}'[do not update the new working directory]'
+  '--pull[use pull protocol to copy metadata]'
+  '--stream[clone with minimal data processing]'
+)
+
 _hg_subrepos_opts=(
   '(--subrepos -S)'{-S,--subrepos}'[recurse into subrepositories]')
 



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


More information about the Mercurial-devel mailing list