diff hgext/evolve.py @ 824:fed090e07621

exchange: pull markers relevant to the pulled subset only With the command recently introduced we can select to pull only markers relevant to some nodes. We are now pull all markers for all node in the relevant subset. We'll try to pull less (just markers for node where local and remote marker diverge) later, but we need some marker discovery mechanism for that. which are not easy.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 28 Feb 2014 13:38:19 -0800
parents 9aa20585e158
children 7671717afef8
line wrap: on
line diff
--- a/hgext/evolve.py	Fri Feb 28 13:25:34 2014 -0800
+++ b/hgext/evolve.py	Fri Feb 28 13:38:19 2014 -0800
@@ -2193,7 +2193,7 @@
     tr = None
     ui = pullop.repo.ui
     ui.status("OBSEXC: pull obsolescence markers\n")
-    obsdata = pullop.remote.evoext_pullobsmarkers_0()
+    obsdata = pullop.remote.evoext_pullobsmarkers_0(heads=pullop.pulledsubset)
     obsdata = obsdata.read()
     if len(obsdata) > 5:
         ui.status("OBSEXC: merging obsolescence markers (%i bytes)\n"