[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 22:01:11 CET

Lukas Lipavsky lukas.lipavsky-at-gmail.com |Lists| wrote:
> 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? :)

*YES* - I'd also love to be able to configure _at least_ the umask and
-r parameter for svnserve *server-side*, but alas, we svn+ssh:// people
are in a minority, I think....

I'm sure a patch would be very welcome! :-D

----------------oooooooooooOOOOOOOOOOOOOOOOOoooooooooo-----------

Client side configuration of what svnserve executable to run on the
server can be configured using .bashrc like I described, or this hack:

You can set the clientside environment variable: SVN_SSH to be the ssh
executable. And so this (also) works for me:

-------------------
client:~$ export SVN_SSH=`pwd`/pseudossh
client:~$ cat `pwd`/pseudossh
#!/bin/bash

# For testing to help you figure out what
# svn actually calls ssh with:
echo "$@" > ~/svnserve.args.txt
server=$1
ssh $server /server/path/to/svnserve -t
-------------------

.bashrc is the way to go, brother!

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 22:03:23 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.