[PATCH 6 of 9] configitems: register the 'bugzilla.notify' config
Boris Feld
boris.feld at octobus.net
Sat Jul 15 14:41:09 EDT 2017
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1498786213 -7200
# Fri Jun 30 03:30:13 2017 +0200
# Node ID 0320a1820f8fcea0709ded92b788ffdb438f1e20
# Parent 6a5f9dfdcb30a627d914d4b9fdbe767231253288
# EXP-Topic config.register.special-case
configitems: register the 'bugzilla.notify' config
diff -r 6a5f9dfdcb30 -r 0320a1820f8f 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,
)
More information about the Mercurial-devel
mailing list