##// END OF EJS Templates
wireproto: use decorator for the changegroupsubset command
Pierre-Yves David -
r20913:fc7219ec default
parent child Browse files
Show More
@@ -581,6 +581,7 b' def changegroup(repo, proto, roots):'
581 581 cg = repo.changegroup(nodes, 'serve')
582 582 return streamres(proto.groupchunks(cg))
583 583
584 @wireprotocommand('changegroupsubset', 'bases heads')
584 585 def changegroupsubset(repo, proto, bases, heads):
585 586 bases = decodelist(bases)
586 587 heads = decodelist(heads)
@@ -787,7 +788,6 b' def unbundle(repo, proto, heads):'
787 788 os.unlink(tempname)
788 789
789 790 commands.update({
790 'changegroupsubset': (changegroupsubset, 'bases heads'),
791 791 'debugwireargs': (debugwireargs, 'one two *'),
792 792 'getbundle': (getbundle, '*'),
793 793 'heads': (heads, ''),
General Comments 0
You need to be logged in to leave comments. Login now