contrib/bash_completion
changeset 3993 04d919cdf263
parent 3992 d86ab4ba5ae6
child 5115 ea7b982b6c08
equal deleted inserted replaced
3992:d86ab4ba5ae6 3993:04d919cdf263
   476 # gpg
   476 # gpg
   477 _hg_cmd_sign()
   477 _hg_cmd_sign()
   478 {
   478 {
   479     _hg_tags
   479     _hg_tags
   480 }
   480 }
       
   481 
       
   482 
       
   483 # transplant
       
   484 _hg_cmd_transplant()
       
   485 {
       
   486     case "$prev" in
       
   487 	-s|--source)
       
   488 	    _hg_paths
       
   489 	    _hg_repos
       
   490 	    return
       
   491 	    ;;
       
   492 	--filter)
       
   493 	    # standard filename completion
       
   494 	    return
       
   495 	    ;;
       
   496     esac
       
   497 
       
   498     # all other transplant options values and command parameters are revisions
       
   499     _hg_tags
       
   500     return
       
   501 }
       
   502