This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: move _dirs to dirstatemap
ClosedPublic

Authored by durham on Sep 20 2017, 8:03 PM.

Details

Summary

As part of moving the dirstate storage logic to a new class, lets move the _dirs
computation onto the class so extensions can replace it with a persisted index
of directories.

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

durham created this revision.Sep 20 2017, 8:03 PM
indygreg accepted this revision.Sep 24 2017, 11:11 AM
indygreg added a subscriber: indygreg.

Again, I wish a docstring were added. But that can be deferred.

This revision is now accepted and ready to land.Sep 24 2017, 11:11 AM
durham updated this revision to Diff 2079.Sep 26 2017, 6:58 AM
This revision was automatically updated to reflect the committed changes.