This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accessing the subversion repository


In article <20050215162057.GA7533@dementia.proulx.com> you write:
>Daniel Berlin wrote:
>> I should note that svn treats it's remote connections as disposable, so
>> svn+ssh will probably connect more than once for things like remote
>> diffs.  So if it takes a while to authenticate, this may not be your
>> best bet if you are looking for blazing speed (as some seem to be :P).
>
>It would seem to be possible to use fsh to cache ssh connections for
>svn.  But I have not tried it with svn and have not worked out the
>exact client side svn configuration syntax.
>
>  http://www.lysator.liu.se/fsh/

Recent versions of openssh support multiple connections through one
single authentication token (`master' connection)

My .ssh/config looks like this:

Host cvs-base
        Hostname cvs.host
        ControlMaster yes
        ControlPath ~/.ssh/openbsd-mux
Host cvs-fast
        ControlMaster no
        ControlPath ~/.ssh/openbsd-mux

and I use something like this for a cvs script:

#!/bin/sh
CVS_RSH=ssh
export CVS_RSH
test -e $HOME/.ssh/openbsd-mux && exec cvs -z3 -d cvs-fast:/cvs "$@"
exec cvs -z3 -d espie@cvs.host:/cvs "$@"


No need for fsh or anything. Didn't this feature make it into portable 
openssh ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]