This is an archive of the discontinued Mercurial Phabricator instance.

test-dirstate: use new `--docket` flag to get the data uuid
ClosedPublic

Authored by Alphare on Apr 28 2022, 11:16 AM.

Details

Summary

This is more robust.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Apr 28 2022, 11:16 AM
marmoute accepted this revision.May 3 2022, 12:36 PM
marmoute requested changes to this revision.

We probably need to add a new line to check that the old file have been deleted, don't we?

The current checking is done by checking that find_dirstate_uuid only return one value.

This revision now requires changes to proceed.May 3 2022, 12:37 PM

All calls to dirstate_uuid_has_not_changed is preceded by a check that we only have 1 dirstate data file, so I'm not sure what you're asking

This revision was not accepted when it landed; it landed in state Needs Revision.
This revision was automatically updated to reflect the committed changes.
baymax updated this revision to Diff 33348.Wed, May 4, 10:52 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠

Yeaj, I was just mistaken. Sorry about that.