changeset 34477:a27718efb290

configitems: register the 'smtp.port' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:44:24 +0200
parents 9d78dfc78d93
children ef303daefdf7
files mercurial/configitems.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jun 30 03:43:48 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:44:24 2017 +0200
@@ -428,6 +428,9 @@
 coreconfigitem('smtp', 'password',
     default=None,
 )
+coreconfigitem('smtp', 'port',
+    default=dynamicdefault,
+)
 coreconfigitem('smtp', 'tls',
     default='none',
 )