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

Re: Hook script questions

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-07-07 03:45:40 CEST

  ----- Original Message -----
  From: Linda Halligan
  To: 'Nico Kadel-Garcia' ; users@subversion.tigris.org
  Sent: Thursday, July 06, 2006 7:14 PM
  Subject: RE: Hook script questions



  I'm not sure what you mean by client in this context. The tomcat instance is actually running on the same server and I don't have control of what clients people will be using to update the repository. And I'm not actually going to be making changes to the site myself.

The Subversion working copy, whatever machine it resides on, uses an SVN client to do the update.

  I'd rather not use a cron job to check for changes since that will require a delay from commit to website update, and my spec sheet requires an "instant" update mechanism. So a post commit script seemed like the right answer.

Ahh. That explains your need: in this case, where the working copy resides on the same machine, a post-commit hook seems very reasonable. I've seen people here looking for ways to push updates to every copy on every other machine, which gets a lot more awkward to do.
Received on Fri Jul 7 03:46:56 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.