dirstate: clarify a `hg update` invocation in a test
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 04 Nov 2021 17:49:25 +0100
changeset 48373 f3f41e23c1fa
parent 48372 e9d588b28710
child 48374 a4a5d123fb03
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
tests/test-dirstate-race.t
--- a/tests/test-dirstate-race.t	Wed Dec 01 00:04:29 2021 +0100
+++ b/tests/test-dirstate-race.t	Thu Nov 04 17:49:25 2021 +0100
@@ -18,7 +18,7 @@
 Do we ever miss a sub-second change?:
 
   $ for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
-  >     hg co -qC 0
+  >     hg update -qC 0
   >     echo b > a
   >     hg st
   > done