tests: call rawsize() directly
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.
Differential Revision: https://phab.mercurial-scm.org/D3153
--- a/tests/test-lfs.t Thu Apr 05 17:40:51 2018 -0700
+++ b/tests/test-lfs.t Thu Apr 05 17:44:18 2018 -0700
@@ -630,7 +630,7 @@
> fl = repo.file(name)
> if len(fl) == 0:
> continue
- > sizes = [revlog.revlog.rawsize(fl, i) for i in fl]
+ > sizes = [fl.rawsize(i) for i in fl]
> texts = [fl.revision(i, raw=True) for i in fl]
> flags = [int(fl.flags(i)) for i in fl]
> hashes = [hash(t) for t in texts]