This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: inline the last two `_drop` usage
ClosedPublic

Authored by marmoute on Sep 16 2021, 10:43 AM.

Details

Summary

The function is small and having the associated code directly inline help use to cleanup the dirstate API.

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.Sep 16 2021, 10:43 AM
Alphare accepted this revision.Sep 20 2021, 6:05 AM
Alphare added a subscriber: Alphare.

This makes two extensions reach into the abstraction but I guess that's unavoidable.

This revision is now accepted and ready to land.Sep 20 2021, 6:05 AM
This revision was automatically updated to reflect the committed changes.