--- a/mercurial/wireproto.py Fri Mar 28 14:42:38 2014 -0700
+++ b/mercurial/wireproto.py Fri Mar 28 14:42:55 2014 -0700
@@ -644,6 +644,7 @@
def known(repo, proto, nodes, others):
return ''.join(b and "1" or "0" for b in repo.known(decodelist(nodes)))
+@wireprotocommand('pushkey', 'namespace key old new')
def pushkey(repo, proto, namespace, key, old, new):
# compatibility with pre-1.8 clients which were accidentally
# sending raw binary nodes rather than utf-8-encoded hex
@@ -795,7 +796,6 @@
os.unlink(tempname)
commands.update({
- 'pushkey': (pushkey, 'namespace key old new'),
'stream_out': (stream, ''),
'unbundle': (unbundle, 'heads'),
})