##// END OF EJS Templates
wireproto: sort response to listkeys...
Gregory Szorc -
r36546:33c6f8f0 default
parent child Browse files
Show More
@@ -916,7 +916,7 b' def hello(repo, proto):'
916
916
917 @wireprotocommand('listkeys', 'namespace')
917 @wireprotocommand('listkeys', 'namespace')
918 def listkeys(repo, proto, namespace):
918 def listkeys(repo, proto, namespace):
919 d = repo.listkeys(encoding.tolocal(namespace)).items()
919 d = sorted(repo.listkeys(encoding.tolocal(namespace)).items())
920 return bytesresponse(pushkeymod.encodekeys(d))
920 return bytesresponse(pushkeymod.encodekeys(d))
921
921
922 @wireprotocommand('lookup', 'key')
922 @wireprotocommand('lookup', 'key')
General Comments 0
You need to be logged in to leave comments. Login now