##// END OF EJS Templates
configitems: register the 'bugzilla.mocklog' config
Boris Feld -
r33432:fbfecd1d default
parent child Browse files
Show More
@@ -3,7 +3,14 b' mock bugzilla driver for testing templat'
3 3 $ cat <<EOF > bzmock.py
4 4 > from __future__ import absolute_import
5 5 > from mercurial import extensions
6 > from mercurial import registrar
6 7 >
8 > configtable = {}
9 > configitem = registrar.configitem(configtable)
10 >
11 > configitem('bugzilla', 'mocklog',
12 > default=None,
13 > )
7 14 > def extsetup(ui):
8 15 > bugzilla = extensions.find('bugzilla')
9 16 > class bzmock(bugzilla.bzaccess):
General Comments 0
You need to be logged in to leave comments. Login now