pull: run obsmarker discovery only on the common set
If the discovery is run before the obsmarker push, pulled revs does not exist in
the repository yet.
--- a/hgext/evolve.py Fri Aug 29 16:11:22 2014 +0200
+++ b/hgext/evolve.py Fri Aug 29 16:13:01 2014 +0200
@@ -2484,7 +2484,7 @@
cl = pullop.repo.changelog
remote = pullop.remote
unfi = repo.unfiltered()
- revs = unfi.revs('::%ln', pullop.pulledsubset)
+ revs = unfi.revs('::%ln', pullop.common)
common = [nullid]
if remote.capable('_evoext_obshash_0'):
obsexcmsg(repo.ui, "looking for common markers in %i nodes\n"
@@ -2652,6 +2652,7 @@
caps += ' _evoext_pushobsmarkers_0'
caps += ' _evoext_pullobsmarkers_0'
caps += ' _evoext_obshash_0'
+ caps += ' _evoext_getbundle_obscommon'
return caps