rawdata: update callers in lfs' tests
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 20:10:43 +0200
changeset 42792 5769ed8fa5f4
parent 42791 f972f43badb3
child 42793 740450677221
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.
tests/test-lfs.t
--- 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'