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

Re: RFC: svnadmin load --use-commit-hooks

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2005-02-08 02:00:29 CET

--On Friday, February 4, 2005 8:48 AM -0600 "C. Michael Pilato"
<cmpilato@collab.net> wrote:

> Because not all 'svnadmin load's occur while a repository is offline.
> For example, if the ASF is merging in another cvs2svn'd project
> dumpfile, they certainly wouldn't shut down operations across the
> board while that load happens. (Would they?)

Heck no. =) We found the race conditions in the dump loader because we do
the load while the repository is on-line.

> So, moving the script
> out of the way is not an acceptable solution. (But I still think
> having two distinct options is nicer than having one with a ternery
> value.)

Here's my thoughts: on one hand, I'd like this feature because we have our
post-commit hooks doing backups. On the other hand, doing the backups and
doing the mailer for the imported files makes little sense. For some
projects that'd be over 20,000 commits: that's absurd.

(FWIW, I have a script that goes through and does the incremental
one-revision backups after I do the load to work around the lack of hook
scripts.)

So, I'm not sure it'd make sense for the extreme use case of apache.org.
However, I can see smaller circumstances that make sense for this feature
and have often thought this might not be a bad idea to offer... -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 8 02:01:37 2005

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