--- a/mercurial/wireproto.py Fri Mar 28 14:37:28 2014 -0700
+++ b/mercurial/wireproto.py Fri Mar 28 14:38:19 2014 -0700
@@ -575,6 +575,7 @@
def capabilities(repo, proto):
return ' '.join(_capabilities(repo, proto))
+@wireprotocommand('changegroup', 'roots')
def changegroup(repo, proto, roots):
nodes = decodelist(roots)
cg = repo.changegroup(nodes, 'serve')
@@ -786,7 +787,6 @@
os.unlink(tempname)
commands.update({
- 'changegroup': (changegroup, 'roots'),
'changegroupsubset': (changegroupsubset, 'bases heads'),
'debugwireargs': (debugwireargs, 'one two *'),
'getbundle': (getbundle, '*'),