def listkeys(repo, proto, namespace): d = pushkeymod.list(repo, namespace).items() t = "\n".join(["%s\t%s" % (k.encode("string-escape"), v.encode("string-escape")) for k, v in d]) return t
def listkeys(repo, proto, namespace): d = pushkeymod.list(repo, encoding.tolocal(namespace)).items() t = '\n'.join(['%s\t%s' % (encoding.fromlocal(k), encoding.fromlocal(v)) for k, v in d]) return t
def listkeys(repo, proto, namespace): d = pushkeymod.list(repo, namespace).items() t = '\n'.join(['%s\t%s' % (k.encode('string-escape'), v.encode('string-escape')) for k, v in d]) return t