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