diff tests/test-lfs.t @ 39875:d909c44d29e1

filelog: stop proxying rawsize() (API) This method is no longer used by external consumers. The API is quite low-level and is effectively len(revision(raw=True)). I don't see a compelling reason to keep it around. Let's drop the API and make the file storage interface simpler. Differential Revision: https://phab.mercurial-scm.org/D4750
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 24 Sep 2018 12:49:17 -0700
parents 62a532045e71
children e1f97179a3f5
line wrap: on
line diff
--- a/tests/test-lfs.t	Mon Sep 24 12:42:03 2018 -0700
+++ b/tests/test-lfs.t	Mon Sep 24 12:49:17 2018 -0700
@@ -690,7 +690,7 @@
   >         fl = repo.file(name)
   >         if len(fl) == 0:
   >             continue
-  >         sizes = [fl.rawsize(i) for i in fl]
+  >         sizes = [fl._revlog.rawsize(i) for i in fl]
   >         texts = [fl.revision(i, raw=True) for i in fl]
   >         flags = [int(fl._revlog.flags(i)) for i in fl]
   >         hashes = [hash(t) for t in texts]