mercurial/wireproto.py
changeset 21653 4188cae727ce
parent 21651 3aae044408aa
child 21657 0ff44e06275d
--- a/mercurial/wireproto.py	Tue May 27 15:00:20 2014 -0700
+++ b/mercurial/wireproto.py	Tue May 27 15:02:51 2014 -0700
@@ -317,11 +317,7 @@
         self.ui.debug('preparing listkeys for "%s"\n' % namespace)
         yield {'namespace': encoding.fromlocal(namespace)}, f
         d = f.value
-        r = {}
-        for l in d.splitlines():
-            k, v = l.split('\t')
-            r[encoding.tolocal(k)] = encoding.tolocal(v)
-        yield r
+        yield pushkeymod.decodekeys(d)
 
     def stream_out(self):
         return self._callstream('stream_out')