D3153: tests: call rawsize() directly

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Apr 6 21:23:29 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGcc4b569975ed: tests: call rawsize() directly (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3153?vs=7767&id=7851

REVISION DETAIL
  https://phab.mercurial-scm.org/D3153

AFFECTED FILES
  tests/test-lfs.t

CHANGE DETAILS

diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -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]



To: indygreg, #hg-reviewers, durin42
Cc: quark, mercurial-devel


More information about the Mercurial-devel mailing list