This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: fix what looks like a wrong refactoring
ClosedPublic

Authored by valentin.gatienbaron on Aug 2 2021, 9:57 PM.

Details

Summary

when various store functions started returning a revlog type as the
first element of the tuple.

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

pulkit accepted this revision.Aug 4 2021, 4:39 AM
This revision is now accepted and ready to land.Aug 4 2021, 4:39 AM
marmoute accepted this revision.Aug 4 2021, 4:02 PM
marmoute added a subscriber: marmoute.

This looks correct, and suitable for stable.

@valentin.gatienbaron is it possible to get a test covering this in a follow up ?

I am definitely not going to write a test. I know nothing about remotefilelog. I merely happened to see this while grepping around.