This is an archive of the discontinued Mercurial Phabricator instance.

lfs: fix a discrepancy with a function wanting a filelog, but calling it rlog
ClosedPublic

Authored by mharbison72 on Dec 23 2019, 2:47 AM.

Details

Summary

This conceptually broke in 1541e1a8e87d when the filelog isa revlog relationship
was changed to containment of the revlog. It was made more obvious in
62a532045e71 and related API simplification.

It's resolved in favor of passing a revlog because the revlog verification code
doesn't have a reference to a filelog.

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.