This is an archive of the discontinued Mercurial Phabricator instance.

largefile: rearrange conditionnal in `synclfdirstate`
ClosedPublic

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

Details

Summary

We can liquidate the special case early, so do we.

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.Jul 19 2021, 6:41 AM
pulkit added a subscriber: pulkit.Jul 19 2021, 10:51 AM
pulkit added inline comments.
hgext/largefiles/lfutil.py
557–558

Can state here be ??

marmoute added inline comments.Jul 19 2021, 10:57 AM
hgext/largefiles/lfutil.py
557–558

No, b'?' is never stored within entry.

Alphare accepted this revision.Jul 19 2021, 12:28 PM
This revision is now accepted and ready to land.Jul 19 2021, 12:28 PM
baymax updated this revision to Diff 29504.Jul 19 2021, 3:52 PM

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

pulkit accepted this revision.Jul 20 2021, 3:31 PM
This revision was automatically updated to reflect the committed changes.