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

Re: Subversion Blues - please help

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 29 Sep 2010 11:25:27 -0500

On 9/29/2010 11:11 AM, Alan Barrett wrote:
> On Tue, 28 Sep 2010, Les Mikesell wrote:
>> It would have made sense to me to have the config/scripts versioned
>> but I've forgotten how that worked in CVS and I'm too lazy to look
>> it up. And I suppose it would be hard to change now in a
>> backwards-compatible way since svn doesn't keep the head version as
>> a normal file like cvs/rcs.
>
> I make my hooks directory a working copy of an appropriate subdirecrory
> in the repository (or in another repository), and use a post-commit
> hook to run "svn update" in the hooks dir when it sees a commit to the
> relevant path.

Does that cause trouble when the post-commit script itself is updated
while running - or does svn always write new files and rename when
complete which should at least work on unix-like systems?

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Received on 2010-09-29 18:26:08 CEST

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.