Patchwork [STABLE] configitems: register 'email.to' and 'patchbomb.to'

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 20, 2017, 1:37 p.m.
Message ID <6480af4400d186915db4.1508506669@mimosa>
Download mbox | patch
Permalink /patch/25262/
State Accepted
Headers show

Comments

Yuya Nishihara - Oct. 20, 2017, 1:37 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1508505909 -32400
#      Fri Oct 20 22:25:09 2017 +0900
# Branch stable
# Node ID 6480af4400d186915db437332f906d0b0cfc4b72
# Parent  cd3e41ae547b07c03bd05ee0fef23ca27504383b
configitems: register 'email.to' and 'patchbomb.to'

Patch

diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -130,6 +130,9 @@  configitem('patchbomb', 'publicurl',
 configitem('patchbomb', 'reply-to',
     default=None,
 )
+configitem('patchbomb', 'to',
+    default=None,
+)
 
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -314,6 +314,9 @@  coreconfigitem('email', 'method',
 coreconfigitem('email', 'reply-to',
     default=None,
 )
+coreconfigitem('email', 'to',
+    default=None,
+)
 coreconfigitem('experimental', 'archivemetatemplate',
     default=dynamicdefault,
 )