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

Re: checkout and apply transactions

From: Mark W. Shead <mwshead_at_gmail.com>
Date: 2007-04-30 14:04:51 CEST

I looked into doing this and it is a little problematic. You would
have to hold the transaction open until it finishes compiling. Also
it prevents people from checking in work and backing it up until it
compiles, so there is the possibility of code loss on their machine.

Cruisecontrol and Continuum will automatically checkout the current
version of your code, compile it and run any tests. If everything
goes well, I believe they can be set to tag everything as a good
build. That way you record all the good builds, but people can get
their code checked in.

Mark

On Apr 29, 2007, at 11:11 PM, Ryan Schmidt wrote:

> On Apr 29, 2007, at 10:50, Iván Pérez Domínguez wrote:
>
>> I'm trying to write a pre-commit script that compiles a program
>> and succeeds only if the program can be compiled properly.
>>
>> I already found posts on this topic on the internet, but as far as I
>> know, no one provided an implementation for it.
>>
>> First question: is there any tool that does this?
>
> I've heard of CruiseControl many times; maybe it can help you:
>
> http://cruisecontrol.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 30 14:05:11 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.