diff hgext/bugzilla.py @ 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 ab493a8353d1
children 00cf44b7baa9
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,
 )