# HG changeset patch # User Boris Feld # Date 2017-06-30 01:44:29 # Node ID 7bcce17b87e8da0d5fd6bff135270ef312b65371 # Parent 192f7b126ed206e0ce4f7560a73c68736f16d315 configitems: register the 'transplant.filter' config diff --git a/hgext/transplant.py b/hgext/transplant.py --- a/hgext/transplant.py +++ b/hgext/transplant.py @@ -49,6 +49,13 @@ command = registrar.command(cmdtable) # 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