perf-stream-locked-section: actually use v1 generation when requested
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 26 Mar 2024 08:36:47 +0000
changeset 51544 06671781b04d
parent 51543 0d83955bc8ac
child 51545 700783ed3415
perf-stream-locked-section: actually use v1 generation when requested We were fetching a v1 generator but actually using the v2 function…
contrib/perf.py
--- a/contrib/perf.py	Fri Mar 29 21:39:00 2024 +0100
+++ b/contrib/perf.py	Tue Mar 26 08:36:47 2024 +0000
@@ -2040,7 +2040,7 @@
     if generatev1 is not None:
 
         def generate(repo):
-            entries, bytes, data = generatev2(repo, None, None, True)
+            entries, bytes, data = generatev1(repo, None, None, True)
             return data
 
         available[b'v1'] = generatev1