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

A few more questions

From: Tim Moloney <moloney_at_mrsl.com>
Date: 2002-02-25 21:39:18 CET

I'm still trying to get my brain around if/how I can use Subversion to
address some of my issues.

Question 1

Please tell me if the following is correct. For each module that is in
Subversion, I have to have a separate repository (created with 'svnadmin
create') and a separate <Location> block in the Apache httpd.conf file.
  Otherwise, all modules would have the same revision number.

Question 2

Is there a way to "chroot" inside a Subversion repository? For example,
if I had create a repository with

   svnadmin create /var/www/html
   svn mkdir file:/var/www/html/trunk
   svn mkdir file:/var/www/html/tags
   svn mkdir file:/var/www/html/branches

could I then put the following in httpd.conf?

   <Location />
     DAV svn
     SVNPath /var/www/html/trunk
   </Location>

   <Location /maint>
     DAV svn
     SVNPath /var/www/html
   </Location>

So if I accessed http://host.domain.com/, I would get the head of the
trunk subdirectory. If I accessed http://host.domain.com/maint, I could
see the trunk, tags, and branches subdirectory.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.