obsdiscovery: trust core to do the right thing if no discovery is available
This is fixed for a long time now.
--- a/hgext3rd/evolve/obsdiscovery.py Tue May 30 12:13:14 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py Tue May 30 12:15:52 2017 +0200
@@ -93,18 +93,7 @@
unfi = repo.unfiltered()
cl = unfi.changelog
if not pushop.remote.capable('_evoext_obshash_0'):
- # do not trust core yet
- # return orig(pushop)
- nodes = [cl.node(r) for r in revs]
- if nodes:
- obsexcmsg(repo.ui, "computing markers relevant to %i nodes\n"
- % len(nodes))
- pushop.outobsmarkers = repo.obsstore.relevantmarkers(nodes)
- else:
- obsexcmsg(repo.ui, "markers already in sync\n")
- pushop.outobsmarkers = []
- pushop.outobsmarkers = repo.obsstore.relevantmarkers(nodes)
- return
+ return orig(pushop)
common = []
missing = None