Mercurial > hg-stable
changeset 48421: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 | e9d588b28710 |
children | a4a5d123fb03 |
files | tests/test-dirstate-race.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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