Mercurial > hg-stable
comparison contrib/bash_completion @ 3993:04d919cdf263
expanded bash_completion for transplant extension
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 26 Dec 2006 20:08:09 +0100 |
parents | d86ab4ba5ae6 |
children | ea7b982b6c08 |
comparison
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 |