mercurial/wireproto.py
changeset 20931 de60ca3a390e
parent 20930 4a987060d97e
child 20933 d3775db748a0
--- a/mercurial/wireproto.py	Tue Apr 01 14:40:35 2014 -0700
+++ b/mercurial/wireproto.py	Tue Apr 01 15:08:27 2014 -0700
@@ -578,7 +578,7 @@
 @wireprotocommand('changegroup', 'roots')
 def changegroup(repo, proto, roots):
     nodes = decodelist(roots)
-    cg = repo.changegroup(nodes, 'serve')
+    cg = changegroupmod.changegroup(repo, nodes, 'serve')
     return streamres(proto.groupchunks(cg))
 
 @wireprotocommand('changegroupsubset', 'bases heads')