Mercurial > hg-stable
changeset 34518:592a3cc1ebc4
configitems: register the 'commands.show.aliasprefix' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 08 Oct 2017 20:16:09 +0200 |
parents | 49b72b6f6d66 |
children | 0314e02efa25 |
files | hgext/show.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/show.py Sun Oct 08 20:11:34 2017 +0200 +++ b/hgext/show.py Sun Oct 08 20:16:09 2017 +0200 @@ -51,6 +51,13 @@ cmdtable = {} command = registrar.command(cmdtable) + +configtable = {} +configitem = registrar.configitem(configtable) +configitem('commands', 'show.aliasprefix', + default=list, +) + revsetpredicate = registrar.revsetpredicate() class showcmdfunc(registrar._funcregistrarbase):