# HG changeset patch
# User Pierre-Yves David <pierre-yves.da...@octobus.net>
# Date 1565201443 -7200
#      Wed Aug 07 20:10:43 2019 +0200
# Node ID 706b2c50740d509c24aac72db2c3b66e0d0880a8
# Parent  b094039a12306e919e2a5ba27e31fe1c8255f15c
# EXP-Topic rawdata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 
706b2c50740d
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.

diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -701,7 +701,7 @@ absence doesn't cause an abort.)
   >         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'
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to