This is an archive of the discontinued Mercurial Phabricator instance.

tests: call rawsize() directly
ClosedPublic

Authored by indygreg on Apr 5 2018, 8:51 PM.

Details

Summary

rawsize() is not reimplemented outside of revlog. I'm not sure why
this code was insisting it call a specific implementation. Changing
it to call rawsize() on the repo.file(f) result seems to work just
fine.

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

indygreg created this revision.Apr 5 2018, 8:51 PM
quark added a subscriber: quark.Apr 6 2018, 4:01 PM

It was revlog.revlog.size, and got changed to rawsize before committed.

durin42 accepted this revision.Apr 6 2018, 9:00 PM
This revision is now accepted and ready to land.Apr 6 2018, 9:00 PM
This revision was automatically updated to reflect the committed changes.