Show More
@@ -610,6 +610,7 b' def heads(repo, proto):' | |||||
610 | h = repo.heads() |
|
610 | h = repo.heads() | |
611 | return encodelist(h) + "\n" |
|
611 | return encodelist(h) + "\n" | |
612 |
|
612 | |||
|
613 | @wireprotocommand('hello') | |||
613 | def hello(repo, proto): |
|
614 | def hello(repo, proto): | |
614 | '''the hello command returns a set of lines describing various |
|
615 | '''the hello command returns a set of lines describing various | |
615 | interesting things about the server, in an RFC822-like format. |
|
616 | interesting things about the server, in an RFC822-like format. | |
@@ -791,7 +792,6 b' def unbundle(repo, proto, heads):' | |||||
791 | os.unlink(tempname) |
|
792 | os.unlink(tempname) | |
792 |
|
793 | |||
793 | commands.update({ |
|
794 | commands.update({ | |
794 | 'hello': (hello, ''), |
|
|||
795 | 'known': (known, 'nodes *'), |
|
795 | 'known': (known, 'nodes *'), | |
796 | 'listkeys': (listkeys, 'namespace'), |
|
796 | 'listkeys': (listkeys, 'namespace'), | |
797 | 'lookup': (lookup, 'key'), |
|
797 | 'lookup': (lookup, 'key'), |
General Comments 0
You need to be logged in to leave comments.
Login now