Show More
@@ -12,6 +12,11 b' Test if logtoprocess correctly captures ' | |||||
12 | > from mercurial import registrar |
|
12 | > from mercurial import registrar | |
13 | > cmdtable = {} |
|
13 | > cmdtable = {} | |
14 | > command = registrar.command(cmdtable) |
|
14 | > command = registrar.command(cmdtable) | |
|
15 | > configtable = {} | |||
|
16 | > configitem = registrar.configitem(configtable) | |||
|
17 | > configitem('logtoprocess', 'foo', | |||
|
18 | > default=None, | |||
|
19 | > ) | |||
15 | > @command(b'foo', []) |
|
20 | > @command(b'foo', []) | |
16 | > def foo(ui, repo): |
|
21 | > def foo(ui, repo): | |
17 | > ui.log('foo', 'a message: %(bar)s\n', bar='spam') |
|
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