This is an archive of the discontinued Mercurial Phabricator instance.

test-issue660: test inside a repository, not the test dir
ClosedPublic

Authored by Alphare on Apr 6 2022, 10:10 AM.

Details

Summary

This causes an issue with a temporary file showing up in test output
when adding a dirstate-v2 variant of this test.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Apr 6 2022, 10:10 AM

This causes an issue with a temporary file showing up in test output
when adding a dirstate-v2 variant of this test.

Why with dirstate-v2? Why not with dirstate-v1?

This causes an issue with a temporary file showing up in test output
when adding a dirstate-v2 variant of this test.

Why with dirstate-v2? Why not with dirstate-v1?

Because dirstate-v2 uses a docket, whose UUID seed is set in HGTEST_UUIDFILE. run-tests.py creates a UID file at the root of the testdir in this case.

marmoute accepted this revision.Apr 8 2022, 6:38 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
baymax updated this revision to Diff 32916.Apr 8 2022, 12:29 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)