This is an archive of the discontinued Mercurial Phabricator instance.

mq: update the dirstate and its parent within a `parentchange` context
ClosedPublic

Authored by marmoute on Jul 8 2021, 3:33 AM.

Details

Summary

This is more correct, and move our plan of separated API for different dirstate
usage forward.

note: maybe the parentchange context manager should replace the dirstateguard
entirely ? (in this case we should probably deprecated dirstateguard).

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

marmoute created this revision.Jul 8 2021, 3:33 AM
Alphare accepted this revision.Jul 9 2021, 12:01 PM
This revision is now accepted and ready to land.Jul 9 2021, 12:01 PM
marmoute updated this revision to Diff 29150.Jul 10 2021, 5:01 PM
baymax updated this revision to Diff 29162.Jul 11 2021, 7:16 AM

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

baymax updated this revision to Diff 29253.Jul 15 2021, 12:04 PM

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