changeset 32337 | 46ba2cdda476 |
parent 30991 | 3844b3299a53 |
child 32915 | 0afc4206d02b |
--- a/tests/test-logtoprocess.t Sat May 13 17:53:55 2017 +0900 +++ b/tests/test-logtoprocess.t Sat Jan 09 23:07:20 2016 +0900 @@ -6,10 +6,10 @@ $ hg init $ cat > $TESTTMP/foocommand.py << EOF - > from mercurial import cmdutil + > from mercurial import registrar > from time import sleep > cmdtable = {} - > command = cmdutil.command(cmdtable) + > command = registrar.command(cmdtable) > @command('foo', []) > def foo(ui, repo): > ui.log('foo', 'a message: %(bar)s\n', bar='spam')