av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY Before this patch, zsh wouldn't complete --ssh, --remotecmd or --insecure for hg clone. While at it, replace --uncompressed by --stream. REPOSITORY rHG Mercurial 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, spectral _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel