Patchwork [04,of,13,config] configitems: register the 'notify.fromauthor' config

login
register
mail settings
Submitter Boris Feld
Date Aug. 11, 2017, 1:23 p.m.
Message ID <21153b5c2b932b7b4812.1502457801@FB>
Download mbox | patch
Permalink /patch/22871/
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 1498787002 -7200
#      Fri Jun 30 03:43:22 2017 +0200
# Node ID 21153b5c2b932b7b481281664e087a9c1f6f7bbd
# Parent  4621f29dbbbc655355efd0fa3ecaf5c86340791e
# EXP-Topic config.register.notify
configitems: register the 'notify.fromauthor' config

Patch

diff -r 4621f29dbbbc -r 21153b5c2b93 hgext/notify.py
--- a/hgext/notify.py	Fri Jun 30 03:43:20 2017 +0200
+++ b/hgext/notify.py	Fri Jun 30 03:43:22 2017 +0200
@@ -167,6 +167,9 @@ 
 configitem('notify', 'domain',
     default=None,
 )
+configitem('notify', 'fromauthor',
+    default=None,
+)
 
 # template for single changeset can include email headers.
 single_template = '''