diff mercurial/bundle2.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 6fc31e7bd5db
line wrap: on
line diff
--- a/mercurial/bundle2.py	Mon Jul 08 16:19:33 2024 +0200
+++ b/mercurial/bundle2.py	Mon Jul 08 16:20:04 2024 +0200
@@ -1788,7 +1788,7 @@
         addpartrevbranchcache(repo, bundler, outgoing)
 
     if opts.get(b'obsolescence', False):
-        obsmarkers = repo.obsstore.relevantmarkers(nodes=outgoing.missing)
+        obsmarkers = repo.obsstore.relevantmarkers(outgoing.missing)
         buildobsmarkerspart(
             bundler,
             obsmarkers,