exchange: pull markers relevant to the pulled subset only
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 28 Feb 2014 13:38:19 -0800
changeset 824 fed090e07621
parent 823 9aa20585e158
child 825 7671717afef8
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.
hgext/evolve.py
--- 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"