diff -r f09d0004481c -r 82e8c86cdd6d mercurial/changegroup.py --- a/mercurial/changegroup.py Tue Aug 09 15:55:44 2016 +0200 +++ b/mercurial/changegroup.py Tue Aug 09 22:31:38 2016 +0200 @@ -942,7 +942,7 @@ Another wrinkle is doing the reverse, figuring out which changeset in the changegroup a particular filenode or manifestnode belongs to. """ - outgoing = discovery.outgoingbetween(repo, roots, heads) + outgoing = discovery.outgoing(repo, missingroots=roots, missingheads=heads) bundler = getbundler(version, repo) return getsubset(repo, outgoing, bundler, source)