##// END OF EJS Templates
configitems: register the test 'logtoprocess.foo' config
Boris Feld -
r34765:af43cb56 default
parent child Browse files
Show More
@@ -12,6 +12,11 b' Test if logtoprocess correctly captures '
12 12 > from mercurial import registrar
13 13 > cmdtable = {}
14 14 > command = registrar.command(cmdtable)
15 > configtable = {}
16 > configitem = registrar.configitem(configtable)
17 > configitem('logtoprocess', 'foo',
18 > default=None,
19 > )
15 20 > @command(b'foo', [])
16 21 > def foo(ui, repo):
17 22 > ui.log('foo', 'a message: %(bar)s\n', bar='spam')
General Comments 0
You need to be logged in to leave comments. Login now