[Updated] D11778: tests: make sure no ambiguities remains after the commit
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Wed Dec 1 15:20:55 UTC 2021
Closed by commit rHGa4a5d123fb03: tests: make sure no ambiguities remains after the commit (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11778?vs=31100&id=31240
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11778/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11778
AFFECTED FILES
tests/test-dirstate-race2.t
CHANGE DETAILS
diff --git a/tests/test-dirstate-race2.t b/tests/test-dirstate-race2.t
--- a/tests/test-dirstate-race2.t
+++ b/tests/test-dirstate-race2.t
@@ -19,6 +19,12 @@
$ hg commit -qAm _
$ echo aa > a
$ hg commit -m _
+# this sleep is there to ensure current time has -at-least- one second away
+# from the current time. It ensure the mtime is not ambiguous. If the test
+# "sleep" longer this will be fine.
+# It is not used to synchronise parallele operation so it is "fine" to use it.
+ $ sleep 1
+ $ hg status
$ hg debugdirstate --no-dates
n 644 3 (set |unset) a (re)
To: marmoute, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20211201/d85e011b/attachment-0001.html>
More information about the Mercurial-patches
mailing list