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

Re: svnserve

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-09-30 00:04:16 CEST

> Marc Haisenko wrote:
> > On Wednesday 29 September 2004 16:11, Adam Stroud wrote:
> >
> >>All:
> >>
> >>I am attempting to run svnserve from inetd with the "-r " option and
> >>it does not seem to be working. I can still access the repo with
> >>svn+ssh://<hostname>/path/to/repo. However, svn+ssh://<hostname>/repo
> >>does not work. I get an error telling me that the repo does not
> >>exist. Any ideas?
> >>
> >>A
> >
> >
> > If you use the svn+ssh:// scheme you bypass the svnserve from inetd.
> You'd
> > just have to use svn:// instead.
> >
>
> Is there a way to use the (very useful) -r functionality with svn+ssh?

Yes. Create a wrapper which passes the extra argument to svnserve like this:

#!/bin/sh

/usr/bin/svnserve -r /my/repos/root "$@"

and make sure it's in your path before svnserve itself.

HTH,

Erik.

-- 
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 30 00:04:44 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.