[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 30 Sep 2010 01:20:32 +0200

Les Mikesell wrote on Wed, Sep 29, 2010 at 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?

I'm pretty sure we don't let you end up with a half-written file in the
working copy.

But let's hope the 'svn update' never runs into a conflict, or things
are going to get interesting....

>
> --
> Les Mikesell
> lesmikesell_at_gmail.com
>
>
Received on 2010-09-30 01:21:57 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.