##// END OF EJS Templates
wireproto: use decorator for the between command
Pierre-Yves David -
r20908:ae4bf69c default
parent child Browse files
Show More
@@ -513,6 +513,7 b' def batch(repo, proto, cmds, others):'
513 513 res.append(escapearg(result))
514 514 return ';'.join(res)
515 515
516 @wireprotocommand('between', 'pairs')
516 517 def between(repo, proto, pairs):
517 518 pairs = [decodelist(p, '-') for p in pairs.split(" ")]
518 519 r = []
@@ -782,7 +783,6 b' def unbundle(repo, proto, heads):'
782 783 os.unlink(tempname)
783 784
784 785 commands.update({
785 'between': (between, 'pairs'),
786 786 'branchmap': (branchmap, ''),
787 787 'branches': (branches, 'nodes'),
788 788 'capabilities': (capabilities, ''),
General Comments 0
You need to be logged in to leave comments. Login now