[PATCH] sshrepo: add support for paramiko transport engine
Steve Borho
steve at borho.org
Thu Apr 1 01:23:40 CDT 2010
On Wed, Mar 31, 2010 at 11:47 PM, Steve Borho <steve at borho.org> wrote:
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1270100782 18000
> # Node ID 692bd14317b35db4e856d222269d3c23320fced6
> # Parent fa7a14277cefdfda5b331fa9f9cddbfab8dd8eca
> sshrepo: add support for paramiko transport engine
>
> This is incomplete, looking for comment and/or aid. It could at least use some
> cleanup and improved error handling. I'm not at all sure readerr() won't get
> stuck if there's actual stderr output. But this at least passes simple sniff
> tests.
>
> To use, install paramiko and pycrypto Python modules, then set ui.ssh to
> paramiko.
If you are wondering: But why?
http://bitbucket.org/tortoisehg/stable/issue/139
Based on initial results, it looks like we won't be able to use the
nice shiny SSHClient class, and will need to use the lower level APIs
in order to enable compression. But that doesn't look too difficult
at first glance.
--
Steve Borho
More information about the Mercurial-devel
mailing list