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

Re: Hook script to update web page

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-13 12:21:41 CET

On Mar 12, 2007, at 12:44, Young, Jason ((GE Indust, GE Fanuc)) wrote:

> Before I write one, does anyone have a hook script that updates HTML
> files based on which path in subversion was updated?
>
> For example, I have a project in one subversion folder, and when the
> revision changes (a file is updated in that project), I want a certain
> HTML page to be modified. It doesn't matter what the file contains
> (I'm
> trying to trigger cruise control.net to build it).
>
> I thought of simply writing the files each time, but cruise control
> goes
> by the last modified time, not the actual contents.

Have you considered just having a working copy on the server, and
using "svn up" in the post-commit hook to update the working copy?

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 13 12:22:02 2007

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.