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

Re: python tests over ra_dav

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-08-09 17:37:58 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Is there some way to write a <Location> directive which maps to a
> "directory of repositories"?

If there's no way to do this, Karl and Mike have offered three other
potential solutions:

 1. Define N specific repositories in httpd.conf, and keep adding
     them every time we write a new test.

 2. Define a single repository in httpd.conf, and have each test
     'overwrite' this location with its own private repository. If a
     test fails, copy the private repository to a post-mortem area
     before it's blown away by the next test.

 3. Create a "repositories" directory location in httpd.conf.
     Place a .htaccess file in this directory that contains an
     ever-growing number of <Location> pointers to repositories. When
     each test runs, it creates its own repository within the
     directory and then appends a new <Location> to .htaccess.

Solution #3 seems the most attractive, assuming it works. The only
thing better than this is my original idea.

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:36:35 2006

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