( )⚙ D11510 dirstate: drop unused condition in `from_p2`

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: drop unused condition in `from_p2`
ClosedPublic

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

Details

Summary

This conditional was added (by me) tentatively because "it seemed more
correct", but it is not used anywhere yet, and it is missing from the C and the
Rust implementation. So it seems more consistent to drop it for now.

This effectively backout f94cc63df859c

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Sep 29 2021, 4:36 AM
Alphare accepted this revision.Sep 29 2021, 4:55 AM
Alphare added a subscriber: Alphare.

Sure I guess

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