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

ssh+svn root

From: Adam Stroud <adam.stroud_at_gmail.com>
Date: 2004-11-23 17:10:11 CET

I posted a messaged a few months ago asking how to change the root
using ssh+svn so that my svnserve urls look like
"svn+ssh://user@host/repo_name" instead of
"svn+ssh://user@host/path/to/repo. I did not get any reponses and it
seemed like other people were having the same problem. I have figured
out a solution that works for me.

The reason that I could not use the -r option with ssh+svn is because
in tunnel mode the svnserve process gets started by the individual
user that prepends the url. This means that each user needs to launch
the svnserve with the -r option. I was having svnserve get launched
via inetd with the -r option which really has not effect when using
ssh (in fact I no longer start svnserver in a system wide manner
because the ssh+svn takes care of this). What I did was to set the
alias: svnserve 'svnserve -r /path/to/repos' in a system wide file
(/etc/csh.cshrc on FreeBSD) and now everything works for every user
using csh.

I dont know if there is a better way to accomplish the like with
environment vars to set the flags or soemthing of that nature.

Hope this helps anyone that was having the same problem I was.

A

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 23 17:20:35 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.