This is an archive of the discontinued Mercurial Phabricator instance.

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

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



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

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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