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

Re: svnserve

From: Peter Williams <peterw_at_aurema.com>
Date: 2004-09-30 00:21:44 CEST

Erik Huelsmann wrote:
>>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.
>

Seems very clunky. It would be nice if this was something that could be
set in a user's configuration files.

Peter

-- 
Dr Peter Williams, Chief Scientist                peterw@aurema.com
Aurema Pty Limited                                Tel:+61 2 9698 2322
PO Box 305, Strawberry Hills NSW 2012, Australia  Fax:+61 2 9699 9174
79 Myrtle Street, Chippendale NSW 2008, Australia http://www.aurema.com
---------------------------------------------------------------------
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:24:21 2004

This is an archived mail posted to the Subversion Users mailing list.