( )⚙ D11511 dirstate: drop some safety assert in largefile

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: drop some safety assert in largefile
ClosedPublic

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

Details

Summary

The code involved in set_possibly_dirty is now simpler and safe to use even
in the cases that the assert covered. So we can drop this assert.

It was the last user of merged_removed and from_p2_removed.

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:56 AM
This revision is now accepted and ready to land.Sep 29 2021, 4:56 AM
This revision was automatically updated to reflect the committed changes.