Mercurial > hg
diff mercurial/fileset.py @ 29386:63fad6235369
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.
author | Martijn Pieters <mjpieters@fb.com> |
---|---|
date | Tue, 21 Jun 2016 17:15:51 +0100 |
parents | 7108834c76a2 |
children | d532ef155b0e |