changeset 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 b8f74c4d188f
children b0c42fec8dc2
files hgext/keyword.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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):