Show More
@@ -628,6 +628,7 b' def listkeys(repo, proto, namespace):' | |||||
628 | for k, v in d]) |
|
628 | for k, v in d]) | |
629 | return t |
|
629 | return t | |
630 |
|
630 | |||
|
631 | @wireprotocommand('lookup', 'key') | |||
631 | def lookup(repo, proto, key): |
|
632 | def lookup(repo, proto, key): | |
632 | try: |
|
633 | try: | |
633 | k = encoding.tolocal(key) |
|
634 | k = encoding.tolocal(key) | |
@@ -794,7 +795,6 b' def unbundle(repo, proto, heads):' | |||||
794 | os.unlink(tempname) |
|
795 | os.unlink(tempname) | |
795 |
|
796 | |||
796 | commands.update({ |
|
797 | commands.update({ | |
797 | 'lookup': (lookup, 'key'), |
|
|||
798 | 'pushkey': (pushkey, 'namespace key old new'), |
|
798 | 'pushkey': (pushkey, 'namespace key old new'), | |
799 | 'stream_out': (stream, ''), |
|
799 | 'stream_out': (stream, ''), | |
800 | 'unbundle': (unbundle, 'heads'), |
|
800 | 'unbundle': (unbundle, 'heads'), |
General Comments 0
You need to be logged in to leave comments.
Login now