configitems: register the 'bugzilla.notify' config
authorBoris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:30:13 +0200
changeset 33524 a89f8329e0b0
parent 33523 11025c4f1016
child 33525 a543d17dce03
configitems: register the 'bugzilla.notify' config
hgext/bugzilla.py
--- a/hgext/bugzilla.py	Fri Jun 30 03:44:56 2017 +0200
+++ b/hgext/bugzilla.py	Fri Jun 30 03:30:13 2017 +0200
@@ -301,6 +301,7 @@
 from mercurial.node import short
 from mercurial import (
     cmdutil,
+    configitems,
     error,
     mail,
     registrar,
@@ -352,6 +353,9 @@
 configitem('bugzilla', 'host',
     default='localhost',
 )
+configitem('bugzilla', 'notify',
+    default=configitems.dynamicdefault,
+)
 configitem('bugzilla', 'password',
     default=None,
 )