changeset 33524:a89f8329e0b0

configitems: register the 'bugzilla.notify' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:30:13 +0200
parents 11025c4f1016
children a543d17dce03
files hgext/bugzilla.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
 )