( )⚙ D11129 dirstate-map: factor out the change to _dirs and _alldirs on adding

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-map: factor out the change to _dirs and _alldirs on adding
ClosedPublic

Authored by marmoute on Jul 19 2021, 6:39 AM.

Details

Summary

This logic is complicated enough to deserves its own function. So it now does.

This will make it easier to reuse that logic in later changeset.

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 19 2021, 6:39 AM
Alphare accepted this revision.Jul 19 2021, 12:27 PM
This revision is now accepted and ready to land.Jul 19 2021, 12:27 PM
pulkit accepted this revision.Jul 19 2021, 8:07 PM
baymax updated this revision to Diff 29548.Jul 20 2021, 3:20 AM

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