diff --git a/tests/test-bundle2-remote-changegroup.t b/tests/test-bundle2-remote-changegroup.t --- a/tests/test-bundle2-remote-changegroup.t +++ b/tests/test-bundle2-remote-changegroup.t @@ -29,7 +29,7 @@ Create an extension to test bundle2 remo > from the given file. > - raw-remote-changegroup > Creates a remote-changegroup part with the data given in the - > python expression as parameters. The python expression is + > Python expression as parameters. The Python expression is > evaluated with eval, and is expected to be a dict. > """ > def newpart(name, data=''): diff --git a/tests/test-hook.t b/tests/test-hook.t --- a/tests/test-hook.t +++ b/tests/test-hook.t @@ -4,7 +4,7 @@ commit hooks can see env vars $ cat > $TESTTMP/txnabort.checkargs.py < def showargs(ui, repo, hooktype, **kwargs): - > ui.write('%s python hook: %s\n' % (hooktype, ','.join(sorted(kwargs)))) + > ui.write('%s Python hook: %s\n' % (hooktype, ','.join(sorted(kwargs)))) > EOF $ hg init a @@ -175,7 +175,7 @@ more there after 5:6f611f8018c1 pretxncommit.forbid hook: HG_HOOKNAME=pretxncommit.forbid1 HG_HOOKTYPE=pretxncommit HG_NODE=6f611f8018c10e827fee6bd2bc807f937e761567 HG_PARENT1=539e4b31b6dc99b3cfbaa6b53cbc1c1f9a1e3a10 HG_PENDING=$TESTTMP/a transaction abort! - txnabort python hook: txnid,txnname + txnabort Python hook: txnid,txnname txnabort hook: HG_HOOKNAME=txnabort.1 HG_HOOKTYPE=txnabort HG_TXNID=TXN:$ID$ HG_TXNNAME=commit rollback completed abort: pretxncommit.forbid1 hook exited with status 1