# HG changeset patch # User Anton Shestakov # Date 1637781825 -10800 # Node ID cf2b582c1764cca4d3a1287ba8678b740c84f70b # Parent 85a16667f19b5aa4206be54ef276361aa884853f tests: run echo through sh -c, to make output the same on windows Otherwise it outputs "running precommit hook"\r (note the quote signs). diff -r 85a16667f19b -r cf2b582c1764 tests/test-evolve-inmemory.t --- a/tests/test-evolve-inmemory.t Thu Nov 18 17:36:18 2021 +0300 +++ b/tests/test-evolve-inmemory.t Wed Nov 24 22:23:45 2021 +0300 @@ -141,7 +141,7 @@ 1 new orphan changesets $ cat >> .hg/hgrc < [hooks] - > precommit = echo "running precommit hook" + > precommit = sh -c "echo 'running precommit hook'" > EOF The hook is not run with in-memory=force $ hg co B2