I think the idea is that, if you actually want to use this feature, you need to do additional initialization in your cruise_config.rb file. I don't have it in front of me, but it would be something like :
Project.config do |project| project.source_control = Subversion.new(:repository => "svn://my.repos...", :user ...) end if all we ever do is svn updates, we don't need this info, and while you do enter it in order to create your project in the first place, cruise doesn't store it. does that make sense? Jeremy On Tue, Aug 11, 2009 at 2:24 PM, Adam Byrtek <[email protected]> wrote: > Recently I started to experiment with do_clean_checkout (with > Subversion adapter) in order to make sure there are no interactions > between different builds. Unfortunately this feature breaks in 1.4.0 > (I haven't tried HEAD yet) with an error message "Repository location > is not specified". > > I took a quick a look at the code and looks like the problem is caused > by the fact that the SourceControl adapter is initialized based only > on the path to the "work" directory. It means that it doesn't contain > the :repository option required to do a proper checkout, which leads > to the error quoted above. > > I'll appreciate any feedback from others that encountered the same > issue or use do_clean_checkout without any problems. If this is really > a bug I can volunteer to work on a patch. In fact I'm surprised that > this feature has actually worked for somebody. > > Best regards, > Adam > > > -- > Adam Byrtek > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -- Jeremy Lightsmith Coaching Teams & Creating Communities 312-953-1193 http://onemanswalk.com/ (blog) http://facilitationpatterns.org/ (book in progress) http://www.linkedin.com/in/jeremylightsmith
_______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
