configitems: register the 'keywordset.svn' config
authorBoris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:42:50 +0200
changeset 34500 6c705bf6a8ff
parent 34499 b8f74c4d188f
child 34501 b0c42fec8dc2
configitems: register the 'keywordset.svn' config
hgext/keyword.py
--- a/hgext/keyword.py	Fri Jun 30 03:42:35 2017 +0200
+++ b/hgext/keyword.py	Fri Jun 30 03:42:50 2017 +0200
@@ -143,6 +143,12 @@
 
 templatefilter = registrar.templatefilter()
 
+configtable = {}
+configitem = registrar.configitem(configtable)
+
+configitem('keywordset', 'svn',
+    default=False,
+)
 # date like in cvs' $Date
 @templatefilter('utcdate')
 def utcdate(text):