Show More
@@ -247,9 +247,9 b' Pager should not override the exit code ' | |||||
247 | > from mercurial import registrar, commands |
|
247 | > from mercurial import registrar, commands | |
248 | > cmdtable = {} |
|
248 | > cmdtable = {} | |
249 | > command = registrar.command(cmdtable) |
|
249 | > command = registrar.command(cmdtable) | |
250 | > @command(b'fortytwo', [], 'fortytwo', norepo=True) |
|
250 | > @command(b'fortytwo', [], b'fortytwo', norepo=True) | |
251 | > def fortytwo(ui, *opts): |
|
251 | > def fortytwo(ui, *opts): | |
252 | > ui.write('42\n') |
|
252 | > ui.write(b'42\n') | |
253 | > return 42 |
|
253 | > return 42 | |
254 | > EOF |
|
254 | > EOF | |
255 |
|
255 |
General Comments 0
You need to be logged in to leave comments.
Login now