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

Re: update hook per project (or directory)

From: Jan Hendrik <jan.hendrik_at_myrealbox.com>
Date: 2007-03-02 09:42:01 CET

Concerning Re: update hook per project (or dir
Andrew Brosnan wrote on 1 Mar 2007, 13:18, at least in part:

> The idea is to update the wc running a website, so only that one wc
> will auto-update. I was trying to avoid running svn up on the entire
> wc. when perhaps only a few files had been committed.
>
> Funnily enough, I started writing a script to do this using svnlook
> just as I got your response. Thanks Andy!

But consider what happens to your website if the svn update
execution fails for any reason or if there is another commit while
the script still runs (or even hangs). Guess this will be less of an
issue if repository and the website wc are on the same machine,
but if they are not and you have to run the script through ssh/telnet
you might more easily end up with a wc lacking some updates.

JH
---------------------------------------
Freedom quote:

     Freedom is the right to question and change
     the established way of doing things.
     It is the continuous revolution of the marketplace,
     and the understanding that allows us to recognize shortcomings
     and seek solutions.
               -- Ronald Reagan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 2 11:00:03 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.