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

Updating a live website with a post-commit hook script

From: Graham Anderson <grahama_at_siren.cc>
Date: 2006-06-29 02:58:41 CEST

Hi

1) Is there an example script and tutorial on how to update a live
web site with a post-commit hook script ?
2) Does this comply with a 'best practices' use for subversion ? At
this point, I am a bit too green to evaluate if this is ok.

I am very new to subversion so any help is appreciated.

From: http://subversion.tigris.org/faq.html
> I'm managing a website in my repository. How can I make the live
> site automatically update after every commit?
>
> This is done all the time, and is easily accomplished by adding a
> post-commit hook script to your repository. Read about hook scripts
> in Chapter 5 of the book. The basic idea is to make the "live site"
> just an ordinary working copy, and then have your post-commit hook
> script run 'svn update' on it.

many thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 29 02:59:58 2006

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.