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

Re: svn+ssh: specifying which svnserve run???

From: Peter Valdemar Mørch <swp5jhu02_at_sneakemail.com>
Date: 2004-11-30 21:37:15 CET

Lukas Lipavsky lukas.lipavsky-at-gmail.com |Lists| wrote:
> So my question is:
> is it possible, to tell svn client which svnserve to execute after
> tunnel is established? If it isn't, wouldn't it be a good idea? :)

svn will run "svnserve" on the server side. Period.

I believe that bash sources ~/.bashrc when it is started regardless of
whether it is a a login shell or not. I do know for a *fact* that bash
sources *something*, I'm just not 100% its .bashrc . I think so. I have
exactly what you describe working myself.

The easiest way to test it outside of svn is:
ssh server which svnserve

Take a look at 'man bash', then fiddle with bash and startup files until
you get the response you're looking for.

But I *think* this will work for you:

prompt$ ssh server
server$ ln -s .profile .bashrc
server$ exit
prompt$ ssh server which svnserve

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 30 21:39:27 2004

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.