Mercurial > hg > pyhgsh
view .hgsigs @ 2421:a1cfe679192c
ssh: add capability detection at startup
Because older servers don't return any output for unknown commands,
it's tricky to add new commands. The approach is this: we add a
"hello" command that reports any interesting capabilities (and other
things that might be of interest in the future). To detect whether
this new command is supported, we issue both it and our startup
detection command ("between") at the beginning of a connection.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 09 Jun 2006 18:03:35 -0500 |
parents | ccd5f17f1eea |
children |
line wrap: on
line source
35fb62a3a673d5322f6274a44ba6456e5e4b3b37 0 iD8DBQBEYmO2ywK+sNU5EO8RAnaYAKCO7x15xUn5mnhqWNXqk/ehlhRt2QCfRDfY0LrUq2q4oK/KypuJYPHgq1A=