mercurial/wireproto.py
changeset 20930 4a987060d97e
parent 20927 24a443948627
child 20931 de60ca3a390e
--- a/mercurial/wireproto.py	Thu Apr 03 12:59:12 2014 -0500
+++ b/mercurial/wireproto.py	Tue Apr 01 14:40:35 2014 -0700
@@ -602,7 +602,7 @@
             opts[k] = decodelist(v)
         elif k == 'bundlecaps':
             opts[k] = set(v.split(','))
-    cg = repo.getbundle('serve', **opts)
+    cg = changegroupmod.getbundle(repo, 'serve', **opts)
     return streamres(proto.groupchunks(cg))
 
 @wireprotocommand('heads')