changeset 34468:7bcce17b87e8

configitems: register the 'transplant.filter' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:44:29 +0200
parents 192f7b126ed2
children 61275d0f6157
files hgext/transplant.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/transplant.py	Wed Oct 04 11:58:00 2017 -0400
+++ b/hgext/transplant.py	Fri Jun 30 03:44:29 2017 +0200
@@ -49,6 +49,13 @@
 # leave the attribute unspecified.
 testedwith = 'ships-with-hg-core'
 
+configtable = {}
+configitem = registrar.configitem(configtable)
+
+configitem('transplant', 'filter',
+    default=None,
+)
+
 class transplantentry(object):
     def __init__(self, lnode, rnode):
         self.lnode = lnode