[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: singl file checkout

From: Mark Eichin <eichin_at_gmail.com>
Date: Fri, 31 Oct 2008 19:18:09 -0400

> The answer to that used to be "fsh" http://www.lysator.liu.se/fsh/ but
> I see it hasn't updated since 2001 (that said, it was pretty simple
> and ought to still work with a modern ssh) - you use it to run an
> initial ssh, and then it tunnels further requests over that initial
> session. (That said, I think I've heard talk of svn reusing the
> connection more in the future, but I don't know if it was anywhere
> real...)

A friend just pointed out that the reason it isn't needed anymore is
the ControlMaster/ControlPath feature of modern ssh, which takes care
of it directly; looks like you can do something like

 ssh -o ControlMaster=yes -o ControlPath=/tmp/mysocket svnserver
and leave that around, then
 export SVN_SSH="ssh -o ControlMaster=no -o ControlPath=/tmp/mysocket"
and use svn+ssh as you already do... I haven't tried this myself yet
to see how much of a performance difference it makes, just confirmed
that the commands work...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-01 00:18:31 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.