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

Re: [PATCH] Speedup the python tests (now with log message)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2006-06-18 22:35:55 CEST

Julian Foad <julianfoad@btopenworld.com> writes:

> Lieven Govaerts wrote:
>>>Why only for FSFS? It would be nice if the comment could give a hint.
>> Well, apparently long ago the choice was made to use svnadmin
>> dump|svnadmin
>> load for bdb, because that would require access to the BDB tools, so I
>> didn't want to touch that. I'll include a note in the log message.
> Use of "hotcopy" might require access to the BDB tools, but why can't
> we use a straightforward directory tree copy? We know that nothing
> else is committing to this (greek tree) repository, don't we? The
> only possible simultaneous operation on it might be another set of
> tests running in parallel in the same directory tree, which could be
> doing "svnadmin dump" on it, but does that modify its files such that
> we can't do a directory tree copy?

Using an OS copy on a live repository is not valid. We used to do it
and it led to errors when running the tests for BDB/ra_svn.

An alternative to consider: add a greek tree dumpfile to the
Subversion repository and then simply load it straight into the
destination repository rather than creating/copying a separate
repository. That might be a bit slower for the minority of tests that
use multiple repositories, but should be faster for the majority that
only use one repository. It should work for both FSFS and BDB.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 18 22:36:31 2006

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