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

Re: post-update hook?

From: <kfogel_at_collab.net>
Date: 2004-06-02 17:17:11 CEST

"Jan Hendrik" <jan.hendrik@bigfoot.com> writes:
> I am on the way to have the contents pages in web projects here
> created automatically by a script from versioned datafiles (currently
> contents are static, versioned HTML files). This script shall be
> invoked i. a. by a post-commit or even start-commit hook.
> I don't want to put the automatically generated contents under
> version control, but I would like having them updated in working
> copies on svn update. Is there something like a post-update hook?
> OK, I know I could write a batch file doing this, but folks use
> TortoiseSVN and this thing should not introduce another step for
> them. I also know I could (and perhaps should) do this entirely on
> the web server, but for a number of reasons I would rather prefer
> having those contents files being created locally.

Since your post-commit hook is invoking the update, why not have the
post-commit hook then do the post-update processing as well?

(This is what I do for a similar site.)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 2 18:39:54 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.