Mercurial > hg-stable
diff hgext/show.py @ 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 | e6b5e7329ff2 |
children | 317566f0c2e6 |
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):