mercurial/changegroup.py
changeset 29815 7b9157aa752f
parent 29769 976cd337cac9
child 29817 82e8c86cdd6d
--- a/mercurial/changegroup.py	Tue Aug 16 08:21:16 2016 +0000
+++ b/mercurial/changegroup.py	Tue Aug 09 15:26:53 2016 +0200
@@ -985,7 +985,7 @@
         common = [nullid]
     if not heads:
         heads = cl.heads()
-    return discovery.outgoing(cl, common, heads)
+    return discovery.outgoing(repo, common, heads)
 
 def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None,
                    version='01'):