configitems: register the 'commands.show.aliasprefix' config
authorBoris Feld <boris.feld@octobus.net>
Sun, 08 Oct 2017 20:16:09 +0200
changeset 34518 592a3cc1ebc4
parent 34517 49b72b6f6d66
child 34519 0314e02efa25
configitems: register the 'commands.show.aliasprefix' config
hgext/show.py
--- 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):