comparison tests/test-dirstate-race.t @ 48373:f3f41e23c1fa

dirstate: clarify a `hg update` invocation in a test It is common for readers of that test to confuse the `hg co` call with a `hg commit`, while it actually means `hg checkout`, an alias for the more common `hg update. So let us use the clearer version. Differential Revision: https://phab.mercurial-scm.org/D11777
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 04 Nov 2021 17:49:25 +0100
parents bf11ff22a9af
children 4c61c7f75de6
comparison
equal deleted inserted replaced
48372:e9d588b28710 48373:f3f41e23c1fa
16 $ hg commit -m test 16 $ hg commit -m test
17 17
18 Do we ever miss a sub-second change?: 18 Do we ever miss a sub-second change?:
19 19
20 $ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do 20 $ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
21 > hg co -qC 0 21 > hg update -qC 0
22 > echo b > a 22 > echo b > a
23 > hg st 23 > hg st
24 > done 24 > done
25 M a 25 M a
26 M a 26 M a