# HG changeset patch # User Pierre-Yves David # Date 1496139352 -7200 # Node ID 45abd0586c73820fc9e2d33c69d25154f7f63343 # Parent de6c61462e675dc14487b4d19287c5271f0459ac obsdiscovery: trust core to do the right thing if no discovery is available This is fixed for a long time now. diff -r de6c61462e67 -r 45abd0586c73 hgext3rd/evolve/obsdiscovery.py --- 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