Page MenuHomePhabricator

dirstate: move parent state handling in the dirstatemap

Authored by SimonSapin on Tue, Sep 28, 3:54 PM.



This involves dirstatemap data mostly. Moving this one level down will remove
the needs for the dirstatemap to expose some of its internals.

This will help us to simplify more code further.

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

SimonSapin created this revision.Tue, Sep 28, 3:54 PM
Alphare accepted this revision.Wed, Sep 29, 4:35 AM
Alphare added a subscriber: Alphare.

I'm not a huge fan of simply copy-pasting the setparents logic, but I see that the next patches make them differ

This revision is now accepted and ready to land.Wed, Sep 29, 4:35 AM
This revision was automatically updated to reflect the committed changes.