mercurial/changegroup.py
changeset 45144 c93dd9d9f1e6
parent 44470 9d2b2df2c2ba
child 45391 e58e234096de
--- a/mercurial/changegroup.py	Wed Jul 15 11:38:54 2020 +0200
+++ b/mercurial/changegroup.py	Fri Jul 17 09:20:48 2020 +0200
@@ -1629,7 +1629,7 @@
     repo = repo.unfiltered()
     commonrevs = outgoing.common
     csets = outgoing.missing
-    heads = outgoing.missingheads
+    heads = outgoing.ancestorsof
     # We go through the fast path if we get told to, or if all (unfiltered
     # heads have been requested (since we then know there all linkrevs will
     # be pulled by the client).