Show More
@@ -644,6 +644,7 b' def lookup(repo, proto, key):' | |||||
644 | def known(repo, proto, nodes, others): |
|
644 | def known(repo, proto, nodes, others): | |
645 | return ''.join(b and "1" or "0" for b in repo.known(decodelist(nodes))) |
|
645 | return ''.join(b and "1" or "0" for b in repo.known(decodelist(nodes))) | |
646 |
|
646 | |||
|
647 | @wireprotocommand('pushkey', 'namespace key old new') | |||
647 | def pushkey(repo, proto, namespace, key, old, new): |
|
648 | def pushkey(repo, proto, namespace, key, old, new): | |
648 | # compatibility with pre-1.8 clients which were accidentally |
|
649 | # compatibility with pre-1.8 clients which were accidentally | |
649 | # sending raw binary nodes rather than utf-8-encoded hex |
|
650 | # sending raw binary nodes rather than utf-8-encoded hex | |
@@ -795,7 +796,6 b' def unbundle(repo, proto, heads):' | |||||
795 | os.unlink(tempname) |
|
796 | os.unlink(tempname) | |
796 |
|
797 | |||
797 | commands.update({ |
|
798 | commands.update({ | |
798 | 'pushkey': (pushkey, 'namespace key old new'), |
|
|||
799 | 'stream_out': (stream, ''), |
|
799 | 'stream_out': (stream, ''), | |
800 | 'unbundle': (unbundle, 'heads'), |
|
800 | 'unbundle': (unbundle, 'heads'), | |
801 | }) |
|
801 | }) |
General Comments 0
You need to be logged in to leave comments.
Login now