Skip to content
Snippets Groups Projects
Commit cc4b569975ed authored by Gregory Szorc's avatar Gregory Szorc
Browse files

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
parent c8666a9e9e11
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment