diff hgext/keyword.py @ 34500:6c705bf6a8ff

configitems: register the 'keywordset.svn' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:42:50 +0200
parents a39dce4a76b8
children 3fbc30f7b9f0
line wrap: on
line diff
--- 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):