mercurial/pure/__init__.py
author |
Martijn Pieters <mjpieters@fb.com> |
|
Tue, 21 Jun 2016 17:15:51 +0100 |
changeset 29386 |
63fad6235369 |
parent 16438 |
28a90cdf0ca0
|
permissions |
-rw-r--r-- |
bashcompletion: show available command-line switches for aliases
When auto-completing hg commands, aliases are listed, but not the available
switches for an alias, because `HGPLAIN=1` filters these out. Add a
`HGPLAINEXCEPT=alias` exception to resolve this.
We make heavy use of aliases that drive hg log with custom revsets, sorting and
the -G switch, but want our users to be able to auto-complete any additional
command-line switches.