contrib/zsh_completion
changeset 39347 ad1c6bd3c676
parent 39346 d0dfdf263a20
child 39377 b4e7e1f09c09
equal deleted inserted replaced
39346:d0dfdf263a20 39347:ad1c6bd3c676
   629   '--switch-parent[diff against the second parent]' \
   629   '--switch-parent[diff against the second parent]' \
   630   '*'{-r+,--rev=}'[revisions to export]:revision:_hg_labels' \
   630   '*'{-r+,--rev=}'[revisions to export]:revision:_hg_labels' \
   631   '*:revision:_hg_labels'
   631   '*:revision:_hg_labels'
   632 }
   632 }
   633 
   633 
       
   634 _hg_cmd_files() {
       
   635   _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_subrepos_opts \
       
   636   '(--rev -r)'{-r+,--rev=}'[search the repository as it is in REV]:revision:_hg_labels' \
       
   637   '(--print0 -0)'{-0,--print0}'[end filenames with NUL, for use with xargs]' \
       
   638   '*:file:_hg_files'
       
   639 }
       
   640 
   634 _hg_cmd_forget() {
   641 _hg_cmd_forget() {
   635   _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts \
   642   _arguments -s -S : $_hg_global_opts $_hg_pat_opts $_hg_dryrun_opts \
   636   '(--interactive -i)'{-i,--interactive}'[use interactive mode]' \
   643   '(--interactive -i)'{-i,--interactive}'[use interactive mode]' \
   637   '*:file:_hg_files'
   644   '*:file:_hg_files'
   638 }
   645 }