Show More
@@ -316,6 +316,7 test-log-exthook.t | |||||
316 | test-log-linerange.t |
|
316 | test-log-linerange.t | |
317 | test-log.t |
|
317 | test-log.t | |
318 | test-logexchange.t |
|
318 | test-logexchange.t | |
|
319 | test-logtoprocess.t | |||
319 | test-lrucachedict.py |
|
320 | test-lrucachedict.py | |
320 | test-mactext.t |
|
321 | test-mactext.t | |
321 | test-mailmap.t |
|
322 | test-mailmap.t |
@@ -14,12 +14,12 Test if logtoprocess correctly captures | |||||
14 | > command = registrar.command(cmdtable) |
|
14 | > command = registrar.command(cmdtable) | |
15 | > configtable = {} |
|
15 | > configtable = {} | |
16 | > configitem = registrar.configitem(configtable) |
|
16 | > configitem = registrar.configitem(configtable) | |
17 | > configitem('logtoprocess', 'foo', |
|
17 | > configitem(b'logtoprocess', b'foo', | |
18 | > default=None, |
|
18 | > default=None, | |
19 | > ) |
|
19 | > ) | |
20 | > @command(b'foobar', []) |
|
20 | > @command(b'foobar', []) | |
21 | > def foo(ui, repo): |
|
21 | > def foo(ui, repo): | |
22 | > ui.log('foo', 'a message: %s\n', 'spam') |
|
22 | > ui.log(b'foo', b'a message: %s\n', b'spam') | |
23 | > EOF |
|
23 | > EOF | |
24 |
$ |
|
24 | $ cp $HGRCPATH $HGRCPATH.bak | |
25 |
$ |
|
25 | $ cat >> $HGRCPATH << EOF |
General Comments 0
You need to be logged in to leave comments.
Login now