Show More
@@ -1014,8 +1014,8 b' def listkeys(repo, proto, namespace):' | |||||
1014 | def lookup(repo, proto, key): |
|
1014 | def lookup(repo, proto, key): | |
1015 | try: |
|
1015 | try: | |
1016 | k = encoding.tolocal(key) |
|
1016 | k = encoding.tolocal(key) | |
1017 |
|
|
1017 | n = repo.lookup(k) | |
1018 |
r = |
|
1018 | r = hex(n) | |
1019 | success = 1 |
|
1019 | success = 1 | |
1020 | except Exception as inst: |
|
1020 | except Exception as inst: | |
1021 | r = stringutil.forcebytestr(inst) |
|
1021 | r = stringutil.forcebytestr(inst) |
General Comments 0
You need to be logged in to leave comments.
Login now