# HG changeset patch # User Boris Feld # Date 2017-10-08 18:16:09 # Node ID 592a3cc1ebc41d84c0d5546ac2a450104563503f # Parent 49b72b6f6d66602a6a8ee5a678d8602001bd58dd configitems: register the 'commands.show.aliasprefix' config diff --git a/hgext/show.py b/hgext/show.py --- a/hgext/show.py +++ b/hgext/show.py @@ -51,6 +51,13 @@ testedwith = 'ships-with-hg-core' cmdtable = {} command = registrar.command(cmdtable) + +configtable = {} +configitem = registrar.configitem(configtable) +configitem('commands', 'show.aliasprefix', + default=list, +) + revsetpredicate = registrar.revsetpredicate() class showcmdfunc(registrar._funcregistrarbase):