This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: add a comment about a racy piece of code during updates

Authored by marmoute on Nov 24 2021, 6:11 AM.



This is a bit that is not really correct but works "fine" in practice. Let us
write the details down so that people stop wondering how that logic might be
correct… It is not.

Diff Detail

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

Event Timeline

marmoute created this revision.Nov 24 2021, 6:11 AM
Alphare accepted this revision.Nov 24 2021, 8:04 AM
This revision is now accepted and ready to land.Nov 24 2021, 8:04 AM
marmoute edited the summary of this revision. (Show Details)Nov 30 2021, 6:53 PM
marmoute updated this revision to Diff 31223.