##// END OF EJS Templates
bash_completion: small optimization...
bash_completion: small optimization Right now we always call "hg help $cmd" to get the canonical name of $cmd (i.e. to go from "co" to "update"). This patch optimistically assumes that $cmd is already the canonical form and tries to generate completions for it. If that fails, it falls back to canonicalizing $cmd and trying again. This means that: - if a command or alias is explicitly handled by the _hg_command_specific function, things get somewhat faster - as long as the canonical $cmd is handled by _hg_command_specific, all its aliases and abbreviations are also handled.
Alexis S. L. Carvalho -
r2039:0c438fd2 default
Show More
Name Size Modified Last Commit Author
/ contrib
git-viz
macosx
win32
bash_completion Loading ...
buildrpm Loading ...
convert-repo Loading ...
favicon.ico Loading ...
hg-menu.vim Loading ...
hg-ssh Loading ...
hgdiff Loading ...
hgk Loading ...
hgk.py Loading ...
mercurial.el Loading ...
mercurial.spec Loading ...
tcsh_completion Loading ...
tcsh_completion_build.sh Loading ...
zsh_completion Loading ...