This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: inline the `from_p2_removed` logic
ClosedPublic

Authored by marmoute on Sep 29 2021, 4:36 AM.

Details

Summary

It is used internally for compatibilty with size used in the v1 format, but
this is the only use. So we can simply inline 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.Sep 29 2021, 4:36 AM
Alphare accepted this revision.Sep 29 2021, 4:58 AM
This revision is now accepted and ready to land.Sep 29 2021, 4:58 AM
This revision was automatically updated to reflect the committed changes.