changeset 34111:798b679680aa

configitems: register the 'patchbomb.bundletype' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:43:37 +0200
parents 029b33adbd17
children 4ec0029b76e8
files hgext/patchbomb.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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