--- a/mercurial/wireproto.py Fri Mar 28 14:40:31 2014 -0700
+++ b/mercurial/wireproto.py Fri Mar 28 14:40:44 2014 -0700
@@ -610,6 +610,7 @@
h = repo.heads()
return encodelist(h) + "\n"
+@wireprotocommand('hello')
def hello(repo, proto):
'''the hello command returns a set of lines describing various
interesting things about the server, in an RFC822-like format.
@@ -791,7 +792,6 @@
os.unlink(tempname)
commands.update({
- 'hello': (hello, ''),
'known': (known, 'nodes *'),
'listkeys': (listkeys, 'namespace'),
'lookup': (lookup, 'key'),