( )⚙ D11141 largefile: rearrange conditionnal in `synclfdirstate`

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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

Can state here be ??

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

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.