diff mercurial/obsutil.py @ 51661:a0f1378b932e stable

Backed out changeset f28c52a9f7b4 This backout and the previous are due to a large performance regression detected in repositories with a lot of obsmarkers when performing a clone. A better fix will come along at the start of the next cycle.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 08 Jul 2024 16:20:04 +0200
parents f28c52a9f7b4
children b8647465b59a 493034cc3265
line wrap: on
line diff
--- a/mercurial/obsutil.py	Mon Jul 08 16:19:33 2024 +0200
+++ b/mercurial/obsutil.py	Mon Jul 08 16:20:04 2024 +0200
@@ -108,7 +108,7 @@
     elif exclusive:
         rawmarkers = exclusivemarkers(repo, nodes)
     else:
-        rawmarkers = repo.obsstore.relevantmarkers(nodes=nodes)
+        rawmarkers = repo.obsstore.relevantmarkers(nodes)
 
     for markerdata in rawmarkers:
         yield marker(repo, markerdata)