# HG changeset patch
# User Boris Feld
# Date 1498787069 -7200
# Fri Jun 30 03:44:29 2017 +0200
# Node ID 3d3e64d40c3a32fc7ada6c00ee56da35bf992651
# Parent 2fd06499dc8e6a5a784b1334b925c289d7b54e4e
# EXP-Topic config.register.transplant
configitems: register the 'transplant.filter' config
diff -r 2fd06499dc8e -r 3d3e64d40c3a hgext/transplant.py
--- a/hgext/transplant.py Thu Aug 24 18:40:30 2017 +0200
+++ 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
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel