##// END OF EJS Templates
wireproto: use decorator for the getbundle command
Pierre-Yves David -
r20915:6aae815f default
parent child Browse files
Show More
@@ -594,6 +594,7 b' def debugwireargs(repo, proto, one, two,'
594 594 opts = options('debugwireargs', ['three', 'four'], others)
595 595 return repo.debugwireargs(one, two, **opts)
596 596
597 @wireprotocommand('getbundle', '*')
597 598 def getbundle(repo, proto, others):
598 599 opts = options('getbundle', ['heads', 'common', 'bundlecaps'], others)
599 600 for k, v in opts.iteritems():
@@ -789,7 +790,6 b' def unbundle(repo, proto, heads):'
789 790 os.unlink(tempname)
790 791
791 792 commands.update({
792 'getbundle': (getbundle, '*'),
793 793 'heads': (heads, ''),
794 794 'hello': (hello, ''),
795 795 'known': (known, 'nodes *'),
General Comments 0
You need to be logged in to leave comments. Login now