comparison hgext/notify.py @ 33774:c27fac1ca8ed

configitems: register the 'notify.style' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:43:29 +0200
parents 71665bbe82c1
children ff4a11ff7aa3
comparison
equal deleted inserted replaced
33773:71665bbe82c1 33774:c27fac1ca8ed
185 configitem('notify', 'sources', 185 configitem('notify', 'sources',
186 default='serve', 186 default='serve',
187 ) 187 )
188 configitem('notify', 'strip', 188 configitem('notify', 'strip',
189 default=0, 189 default=0,
190 )
191 configitem('notify', 'style',
192 default=None,
190 ) 193 )
191 194
192 # template for single changeset can include email headers. 195 # template for single changeset can include email headers.
193 single_template = ''' 196 single_template = '''
194 Subject: changeset in {webroot}: {desc|firstline|strip} 197 Subject: changeset in {webroot}: {desc|firstline|strip}