changeset 42792:5769ed8fa5f4

rawdata: update callers in lfs' tests We update callers incrementally because this help bisecting failures. This was useful during development, so we expect it might be useful again in the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Aug 2019 20:10:43 +0200
parents f972f43badb3
children 740450677221
files tests/test-lfs.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs.t	Wed Aug 07 20:10:32 2019 +0200
+++ b/tests/test-lfs.t	Wed Aug 07 20:10:43 2019 +0200
@@ -701,7 +701,7 @@
   >         if len(fl) == 0:
   >             continue
   >         sizes = [fl._revlog.rawsize(i) for i in fl]
-  >         texts = [fl.revision(i, raw=True) for i in fl]
+  >         texts = [fl.rawdata(i) for i in fl]
   >         flags = [int(fl._revlog.flags(i)) for i in fl]
   >         hashes = [hash(t) for t in texts]
   >         pycompat.stdout.write(b'  %s: rawsizes=%r flags=%r hashes=%s\n'