contrib/zsh_completion
changeset 40334 4c9418e3a7d3
parent 39669 3f11cb1aeb90
child 40335 01bdf7294274
equal deleted inserted replaced
40333:d5ff54152636 40334:4c9418e3a7d3
   402 
   402 
   403 _hg_pat_opts=(
   403 _hg_pat_opts=(
   404   '*'{-I+,--include=}'[include names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/'
   404   '*'{-I+,--include=}'[include names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/'
   405   '*'{-X+,--exclude=}'[exclude names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/')
   405   '*'{-X+,--exclude=}'[exclude names matching the given patterns]:pattern:_files -W $(_hg_cmd root) -/')
   406 
   406 
   407 _hg_clone_opts=(
       
   408   $_hg_remote_opts
       
   409   '(--noupdate -U)'{-U,--noupdate}'[do not update the new working directory]'
       
   410   '--pull[use pull protocol to copy metadata]'
       
   411   '--uncompressed[use uncompressed transfer (fast over LAN)]')
       
   412 
       
   413 _hg_date_user_opts=(
   407 _hg_date_user_opts=(
   414   '(--currentdate -D)'{-D,--currentdate}'[record the current date as commit date]'
   408   '(--currentdate -D)'{-D,--currentdate}'[record the current date as commit date]'
   415   '(--currentuser -U)'{-U,--currentuser}'[record the current user as committer]'
   409   '(--currentuser -U)'{-U,--currentuser}'[record the current user as committer]'
   416   '(--date -d)'{-d+,--date=}'[record the specified date as commit date]:date'
   410   '(--date -d)'{-d+,--date=}'[record the specified date as commit date]:date'
   417   '(--user -u)'{-u+,--user=}'[record the specified user as committer]:user')
   411   '(--user -u)'{-u+,--user=}'[record the specified user as committer]:user')
   460 
   454 
   461 _hg_remote_opts=(
   455 _hg_remote_opts=(
   462   '(--ssh -e)'{-e+,--ssh=}'[specify ssh command to use]:command'
   456   '(--ssh -e)'{-e+,--ssh=}'[specify ssh command to use]:command'
   463   '--remotecmd=[specify hg command to run on the remote side]:remote command'
   457   '--remotecmd=[specify hg command to run on the remote side]:remote command'
   464   '--insecure[do not verify server certificate (ignoring web.cacerts config)]'
   458   '--insecure[do not verify server certificate (ignoring web.cacerts config)]'
       
   459 )
       
   460 
       
   461 _hg_clone_opts=(
       
   462   $_hg_remote_opts
       
   463   '(--noupdate -U)'{-U,--noupdate}'[do not update the new working directory]'
       
   464   '--pull[use pull protocol to copy metadata]'
       
   465   '--stream[clone with minimal data processing]'
   465 )
   466 )
   466 
   467 
   467 _hg_subrepos_opts=(
   468 _hg_subrepos_opts=(
   468   '(--subrepos -S)'{-S,--subrepos}'[recurse into subrepositories]')
   469   '(--subrepos -S)'{-S,--subrepos}'[recurse into subrepositories]')
   469 
   470