comparison tests/test-evolve-inmemory.t @ 6096:cf2b582c1764

tests: run echo through sh -c, to make output the same on windows Otherwise it outputs "running precommit hook"\r (note the quote signs).
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 24 Nov 2021 22:23:45 +0300
parents c1094cce56ed
children b1d1f4ade142
comparison
equal deleted inserted replaced
6095:85a16667f19b 6096:cf2b582c1764
139 > A 139 > A
140 > EOS 140 > EOS
141 1 new orphan changesets 141 1 new orphan changesets
142 $ cat >> .hg/hgrc <<EOF 142 $ cat >> .hg/hgrc <<EOF
143 > [hooks] 143 > [hooks]
144 > precommit = echo "running precommit hook" 144 > precommit = sh -c "echo 'running precommit hook'"
145 > EOF 145 > EOF
146 The hook is not run with in-memory=force 146 The hook is not run with in-memory=force
147 $ hg co B2 147 $ hg co B2
148 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 148 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
149 $ hg evolve --config experimental.evolution.in-memory=force --update 149 $ hg evolve --config experimental.evolution.in-memory=force --update