( )⚙ D11522 dirstate: add a `get_entry` method to the dirstate

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: add a `get_entry` method to the dirstate
ClosedPublic

Authored by marmoute on Oct 1 2021, 5:38 AM.

Details

Summary

This method give access to the underlying DirstateEntry object (or an empty
one if None was there). It should allow us to use the more semantic property of
the entry instead of the state where we needs it.

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.Oct 1 2021, 5:38 AM
Alphare accepted this revision.Oct 1 2021, 11:13 AM
This revision is now accepted and ready to land.Oct 1 2021, 11:13 AM
This revision was automatically updated to reflect the committed changes.