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

Re: Linux post commit script help

From: Paul R <paul.r.ml_at_gmail.com>
Date: Mon, 26 May 2008 18:05:30 +0200

"Rudy Godoy Guillén" <rudygodoyg_at_gmail.com> writes:

> I'm afraid that what you need isn't a post-commit but a script which syncs the webserver with the current
> revision. Syncing in a postcommit might lead to issues and could be error prone.
> This will depende, of course, of your development setup.
>

Still, Jon probably wants to _update_ a working copy as soon as a new
commit enters, and post-commit hook is the way to go. But Rudy point
is probably that you might want to do some more interventions
(database migrations etc) before propagating changes to your running
instance.
You have to read to svnbook at redbean. It contains all you need for
such a common hook.

-- 
      Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-26 19:43:50 CEST

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.