Page MenuHomePhabricator

dirstate: replace a dead conditional branch with an assert in `update_file`
ClosedPublic

Authored by marmoute on Jul 19 2021, 6:39 AM.

Details

Summary

This is a case we never meet, so lets trim it away to simplify the code before
more changes.

Diff Detail

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

Event Timeline

marmoute created this revision.Jul 19 2021, 6:39 AM
Alphare accepted this revision.Jul 19 2021, 12:27 PM
This revision is now accepted and ready to land.Jul 19 2021, 12:27 PM
baymax updated this revision to Diff 29547.Jul 20 2021, 3:20 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

pulkit accepted this revision.Jul 20 2021, 6:41 AM