Mercurial > hg-stable
changeset 33764:2069a8c336b9
configitems: register the 'notify.config' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:43:18 +0200 |
parents | 02a745c20121 |
children | b30da11d9233 |
files | hgext/notify.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/notify.py Thu Aug 10 18:55:33 2017 -0400 +++ b/hgext/notify.py Fri Jun 30 03:43:18 2017 +0200 @@ -145,6 +145,7 @@ error, mail, patch, + registrar, util, ) @@ -154,6 +155,13 @@ # leave the attribute unspecified. testedwith = 'ships-with-hg-core' +configtable = {} +configitem = registrar.configitem(configtable) + +configitem('notify', 'config', + default=None, +) + # template for single changeset can include email headers. single_template = ''' Subject: changeset in {webroot}: {desc|firstline|strip}