hgext/infinitepush/__init__.py
changeset 45144 c93dd9d9f1e6
parent 43550 a936a3455bb1
child 45942 89a2afe31e82
--- a/hgext/infinitepush/__init__.py	Wed Jul 15 11:38:54 2020 +0200
+++ b/hgext/infinitepush/__init__.py	Fri Jul 17 09:20:48 2020 +0200
@@ -466,7 +466,7 @@
 
     version = b'02'
     outgoing = discovery.outgoing(
-        bundlerepo, commonheads=bundleroots, missingheads=[unknownhead]
+        bundlerepo, commonheads=bundleroots, ancestorsof=[unknownhead]
     )
     cgstream = changegroup.makestream(bundlerepo, outgoing, version, b'pull')
     cgstream = util.chunkbuffer(cgstream).read()