--- a/mercurial/wireproto.py Fri Mar 28 14:42:06 2014 -0700
+++ b/mercurial/wireproto.py Fri Mar 28 14:42:21 2014 -0700
@@ -621,6 +621,7 @@
'''
return "capabilities: %s\n" % (capabilities(repo, proto))
+@wireprotocommand('listkeys', 'namespace')
def listkeys(repo, proto, namespace):
d = repo.listkeys(encoding.tolocal(namespace)).items()
t = '\n'.join(['%s\t%s' % (encoding.fromlocal(k), encoding.fromlocal(v))
@@ -793,7 +794,6 @@
os.unlink(tempname)
commands.update({
- 'listkeys': (listkeys, 'namespace'),
'lookup': (lookup, 'key'),
'pushkey': (pushkey, 'namespace key old new'),
'stream_out': (stream, ''),