Patchwork [3,of,5] configitems: register the 'email.from' config

login
register
mail settings
Submitter Boris Feld
Date Oct. 4, 2017, 2:33 p.m.
Message ID <6a03f7849f92bc11612f.1507127622@FB>
Download mbox | patch
Permalink /patch/24486/
State Accepted
Headers show

Comments

Boris Feld - Oct. 4, 2017, 2:33 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498786750 -7200
#      Fri Jun 30 03:39:10 2017 +0200
# Node ID 6a03f7849f92bc11612fda4a599c5c3fc317ceaf
# Parent  bde8c9cabe31010b800392507dd3ac7b524d8ec6
# EXP-Topic config.register.core
configitems: register the 'email.from' config

Patch

diff -r bde8c9cabe31 -r 6a03f7849f92 mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Jun 30 03:44:24 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:39:10 2017 +0200
@@ -146,6 +146,9 @@ 
 coreconfigitem('email', 'charsets',
     default=list,
 )
+coreconfigitem('email', 'from',
+    default=None,
+)
 coreconfigitem('email', 'method',
     default='smtp',
 )