[PATCH 08 of 13 config] configitems: register the 'notify.merge' config
Boris Feld
boris.feld at octobus.net
Fri Aug 11 09:23:25 EDT 2017
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1498787006 -7200
# Fri Jun 30 03:43:26 2017 +0200
# Node ID aafac577cb93e119e24855779e31f82d7879bc6f
# Parent bdd8d57b64f9aa5cc154a8ab5fe771d2caa09ee8
# EXP-Topic config.register.notify
configitems: register the 'notify.merge' config
diff -r bdd8d57b64f9 -r aafac577cb93 hgext/notify.py
--- a/hgext/notify.py Fri Jun 30 03:43:25 2017 +0200
+++ b/hgext/notify.py Fri Jun 30 03:43:26 2017 +0200
@@ -179,6 +179,9 @@
configitem('notify', 'mbox',
default=None,
)
+configitem('notify', 'merge',
+ default=True,
+)
# template for single changeset can include email headers.
single_template = '''
@@ -220,7 +223,7 @@
self.test = self.ui.configbool('notify', 'test', True)
self.charsets = mail._charsets(self.ui)
self.subs = self.subscribers()
- self.merge = self.ui.configbool('notify', 'merge', True)
+ self.merge = self.ui.configbool('notify', 'merge')
mapfile = None
template = (self.ui.config('notify', hooktype) or
More information about the Mercurial-devel
mailing list