configitems: register the 'patchbomb.bundletype' config
authorBoris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:43:37 +0200
changeset 34111 798b679680aa
parent 34110 029b33adbd17
child 34112 4ec0029b76e8
configitems: register the 'patchbomb.bundletype' config
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Wed Sep 06 21:12:27 2017 -0700
+++ b/hgext/patchbomb.py	Fri Jun 30 03:43:37 2017 +0200
@@ -99,6 +99,14 @@
 
 cmdtable = {}
 command = registrar.command(cmdtable)
+
+configtable = {}
+configitem = registrar.configitem(configtable)
+
+configitem('patchbomb', 'bundletype',
+    default=None,
+)
+
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
 # be specifying the version(s) of Mercurial they are tested with, or