##// END OF EJS Templates
configitems: register the 'notify.config' config
Boris Feld -
r33738:2069a8c3 default
parent child Browse files
Show More
@@ -145,6 +145,7 b' from mercurial import ('
145 error,
145 error,
146 mail,
146 mail,
147 patch,
147 patch,
148 registrar,
148 util,
149 util,
149 )
150 )
150
151
@@ -154,6 +155,13 b' from mercurial import ('
154 # leave the attribute unspecified.
155 # leave the attribute unspecified.
155 testedwith = 'ships-with-hg-core'
156 testedwith = 'ships-with-hg-core'
156
157
158 configtable = {}
159 configitem = registrar.configitem(configtable)
160
161 configitem('notify', 'config',
162 default=None,
163 )
164
157 # template for single changeset can include email headers.
165 # template for single changeset can include email headers.
158 single_template = '''
166 single_template = '''
159 Subject: changeset in {webroot}: {desc|firstline|strip}
167 Subject: changeset in {webroot}: {desc|firstline|strip}
General Comments 0
You need to be logged in to leave comments. Login now