Patchwork [12,of,13,config] configitems: register the 'notify.template' config

login
register
mail settings
Submitter Boris Feld
Date Aug. 11, 2017, 1:23 p.m.
Message ID <58446c552d9ec37c4c55.1502457809@FB>
Download mbox | patch
Permalink /patch/22882/
State Accepted
Headers show

Comments

Boris Feld - Aug. 11, 2017, 1:23 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787010 -7200
#      Fri Jun 30 03:43:30 2017 +0200
# Node ID 58446c552d9ec37c4c55d776f4681aa5906d35cb
# Parent  83ee4bc7827a739c8dc3f38d41c2866ba0f12ff4
# EXP-Topic config.register.notify
configitems: register the 'notify.template' config

Patch

diff -r 83ee4bc7827a -r 58446c552d9e hgext/notify.py
--- a/hgext/notify.py	Fri Jun 30 03:43:29 2017 +0200
+++ b/hgext/notify.py	Fri Jun 30 03:43:30 2017 +0200
@@ -191,6 +191,9 @@ 
 configitem('notify', 'style',
     default=None,
 )
+configitem('notify', 'template',
+    default=None,
+)
 
 # template for single changeset can include email headers.
 single_template = '''