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

Shadow folder hook script

From: Leon Zandman <lzandman_at_lode.nl>
Date: 2005-07-22 14:39:30 CEST


This is my first e-mail to this mailing list, so greetings to you all!
At our company we've just started using Subversion two weeks ago (coming
from VSS and Sourcegear Vault) and already like it very much. We do have
one question though.

We'd like to have full (exported) copy of the latest revision of our
repositories on our server (in VSS this is called a shadow folder). We'd
like to have a plain copy of our code in case the Subversion database
gets corrupted.

As I understand Subversion doesn't come with this functionality
built-in, but you can add it yourself using a post-commit hook script.
Searching the mailing list archives and the internet I found several
scripts that offer some kind of shadow copy behaviour. They range from
simple scripts that just perform a "svn export" to advanced scripts that
incrementally add committed files (better for performance I guess).
Instead of trying them all I thought it would be wise to first ask the
people on this list if there is a script that's considered "the best" at
this moment.

We are running our Subversion server (svnserve; we'll switch to Apache
in a few weeks) on a Windows 2000 server, so the script has to be able
to run on such a server. It might be an option to install Python or
Perl, but I'd rather not install Cygwin etc.

I hope you can help us.


Leon Zandman

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 14:44:47 2005

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

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