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

Re: Distributed updates

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-08-05 21:28:00 CEST

Bryan Simmons wrote:

>What about a script for post-commit for remote deployment of any
>repository files/data?
>I'm trying to figure out an intelligent way to auto-deploy certain svn
>folders to their production/test environment on other hosts by using a
>post-commit hook.
>Any ideas?
>
>
There two ways I see to handle this.

1) The remote (production/test/whatever) environment is actually a
Subversion working copy, and your post-commit hook simply does an "svn
update" on it after each commit. Very simple.

2) If for some reason having the remote directory be a WC is not
possible, you'd have to either delete and re-export the entire (portion
of) the repository you need, or else generate a diff from the previous
revision and apply that diff to the remote environment as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 5 21:34:05 2004

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.