tests/test-logtoprocess.t
changeset 48967 42d2b31cee0b
parent 40891 44378796c5e5
child 49419 b3e77d536b53
equal deleted inserted replaced
48966:6000f5b25c9b 48967:42d2b31cee0b
     6 
     6 
     7 Test if logtoprocess correctly captures command-related log calls.
     7 Test if logtoprocess correctly captures command-related log calls.
     8 
     8 
     9   $ hg init
     9   $ hg init
    10   $ cat > $TESTTMP/foocommand.py << EOF
    10   $ cat > $TESTTMP/foocommand.py << EOF
    11   > from __future__ import absolute_import
       
    12   > from mercurial import registrar
    11   > from mercurial import registrar
    13   > cmdtable = {}
    12   > cmdtable = {}
    14   > command = registrar.command(cmdtable)
    13   > command = registrar.command(cmdtable)
    15   > configtable = {}
    14   > configtable = {}
    16   > configitem = registrar.configitem(configtable)
    15   > configitem = registrar.configitem(configtable)