Concerning Re: post-update hook?
kfogel@collab.net wrote on 2 Jun 2004, 10:17, at least in part:
> "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.
To rephrase this: the script would recreate the contents pages on
the committing working copy, but not do an svn update.
> > 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?
>
> Since your post-commit hook is invoking the update, why not have the
> post-commit hook then do the post-update processing as well?
How to do this? As far as I can see
A) the hook would have to know all working copies on the LAN;
B) all working copies would have to be on shared drives/partitions;
C) all relevant machines would have to be available on the LAN any
time anyone commits.
Especially the latter cannot be guaranteed. Just as folks will start
the day with an update, but not a commit ...
Jan Hendrik
---------------------------------------
Freedom quote:
Our policy is simple:
We are not going to betray our friends,
reward the enemies of freedom,
or permit fear and retreat to become American policies. ...
None of the four wars in my lifetime
came about because we were too strong.
It is weakness ... that invites adventurous adversaries
to make mistaken judgments.
-- Ronald Reagan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 3 17:10:23 2004