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