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

python tests over ra_dav

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

hey gstein:

I'm trying to tweak the python test-system to be able to run over
ra_dav instead of ra_local. (Apache would be running locally, and the
network activity would be via loopback.)

In theory, it's easy -- every test starts life by checking out a
working copy. My plan is just to checkout an http://localhost/... URL
instead of the usual file:/// URL. Once it has a working copy, each
test can commit and update as it pleases, thereby exercising whatever
RA layer was originally used.

Here's my problem, though: before initial checkout, each test begins
by making a *copy* of a pristine repository that contains a greek
tree. This creates a safe, isolated environment: every test has a
private repository and private working copy.

Unfortunately, this doesn't translate so well for Apache; httpd wants
to know about *every* repository at startup by reading httpd.conf, and
yet here we have tests creating new repositories on the fly. Is there
some way to write a <Location> directive which maps to a "directory of
repositories"?

<Location /svn/my-repo>
   DAV svn
   SVNPath /www/svn/my-repo
</Location>

---------------------------------------------------------------------
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.

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