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

Re: svnserve + ssh

From: Peter D. Barnes, Jr. <pdbarnes_at_llnl.gov>
Date: 2004-07-28 22:19:02 CEST

Hello Folks,

        Is there a response to Marcin's original question? (I can't
seem to find it in this thread.)

To rephrase:

To check out myrepo from host to the current directory on myhost, the
following command

        myhost$ svn co svn://host.example.com/myrepo

can be made to look for myrepo in /path/to/repositories/ by setting
up inetd, for example, to call

        svnserve --inetd --root=/path/to/repositories/

1. Can I configure svn to default to a particular root, for example
using ~/.subversion/config? That is, can I configure so

        host$ svn co file:///myrepo

looks for myrepo in /path/to/repositories/ ?

2. Would this also work for svn+ssh://host.example.com/ ?

Thanks,
Peter

>Date: Thu, 23 Oct 2003 23:30:09 +0200
>From: Marcin Gil <mgil@vernet.pl>
>
>But I don't know how to restrict it to a required directory.
>My repo lies in /home/svn, so my URI looks like this:
>svn co svn+ssh://repo.vernet.pl/home/svn/bip/trunk
>
>How can I restrict (like running svnserve -r) svn through ssh?

-- 
-----------------------------------------------------------------------
Peter D. Barnes, Jr.                    N-Division                 
Lawrence Livermore National Laboratory  Physics and Advanced Technology
7000 East Avenue, L-50                  email:  pdbarnes@llnl.gov  
P. O. Box 808                           Voice:  (925) 422-3384
Livermore, California 94550             Fax:    (925) 423-3371
Received on Thu Jul 29 00:40:02 2004

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