# HG changeset patch # User Boris Feld # Date 2017-06-30 01:30:13 # Node ID a89f8329e0b0d28157b1c8186b65800745a167b4 # Parent 11025c4f1016de901fe98b98b35a67a28bcd7838 configitems: register the 'bugzilla.notify' config diff --git a/hgext/bugzilla.py b/hgext/bugzilla.py --- a/hgext/bugzilla.py +++ b/hgext/bugzilla.py @@ -301,6 +301,7 @@ from mercurial.i18n import _ from mercurial.node import short from mercurial import ( cmdutil, + configitems, error, mail, registrar, @@ -352,6 +353,9 @@ configitem('bugzilla', 'fixstatus', configitem('bugzilla', 'host', default='localhost', ) +configitem('bugzilla', 'notify', + default=configitems.dynamicdefault, +) configitem('bugzilla', 'password', default=None, )