Mercurial > hg
comparison contrib/hgk @ 18903:5df602551eea
zsh_completion: make use of `debuglabelcomplete` command
Use `debuglabelcomplete` command when populating labels list, instead of
calling `hg` three times: for branches, bookmarks and tags. Do not pass string
being completed to `hg debuglabelcomplete` (as `$words[$CURRENT]`), since it
breaks `_hg_revrange` completion (`--rev 2.5:2.5.<Tab>`) for no apparent
benefit.
Also complete `hg view` with labels, not just tags, and drop unused `_hg_tags`.
author | Nikolaj Sjujskij <sterkrig@myopera.com> |
---|---|
date | Mon, 08 Apr 2013 16:51:38 +0400 |
parents | 3131c9da8bf6 |
children | 86531a7038ed |
comparison
equal
deleted
inserted
replaced
18902:8c0a7eeda06d | 18903:5df602551eea |
---|