##// END OF EJS Templates
wireproto: use decorator for the ubundle command
Pierre-Yves David -
r20923:d771641b default
parent child Browse files
Show More
@@ -750,6 +750,7 b' def stream(repo, proto):'
750 750
751 751 return streamres(streamer(repo, entries, total_bytes))
752 752
753 @wireprotocommand('unbundle', 'heads')
753 754 def unbundle(repo, proto, heads):
754 755 their_heads = decodelist(heads)
755 756
@@ -795,7 +796,3 b' def unbundle(repo, proto, heads):'
795 796 finally:
796 797 fp.close()
797 798 os.unlink(tempname)
798
799 commands.update({
800 'unbundle': (unbundle, 'heads'),
801 })
General Comments 0
You need to be logged in to leave comments. Login now