Patchwork [11,of,13,config] configitems: register the 'notify.style' config

login
register
mail settings
Submitter Boris Feld
Date Aug. 11, 2017, 1:23 p.m.
Message ID <83ee4bc7827a739c8dc3.1502457808@FB>
Download mbox | patch
Permalink /patch/22880/
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 1498787009 -7200
#      Fri Jun 30 03:43:29 2017 +0200
# Node ID 83ee4bc7827a739c8dc3f38d41c2866ba0f12ff4
# Parent  7d5c8af4fd4a2ffdf41588a61509f73cfc8f3ea5
# EXP-Topic config.register.notify
configitems: register the 'notify.style' config

Patch

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