I have some code in corpus-nightly that falls back to "svn co" if "svn up" fails (which it often does). If you're seeing that problem, I can refactor it into a standalone util script...
--j. On Wed, Sep 2, 2009 at 05:44, <[email protected]> wrote: > Author: dos > Date: Wed Sep 2 04:44:00 2009 > New Revision: 810357 > > URL: http://svn.apache.org/viewvc?rev=810357&view=rev > Log: > svn co the latest masses/ stuff so that regressions can be fixed quickly > instead of having score generation broken for a week for net enabled scores > (this has been in use for nearly two years, I just forgot to check it in) > > Modified: > > spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores > > Modified: > spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores > URL: > http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores?rev=810357&r1=810356&r2=810357&view=diff > ============================================================================== > --- > spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores > (original) > +++ > spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores > Wed Sep 2 04:44:00 2009 > @@ -114,6 +114,11 @@ > > svn up -r $REVISION trunk-new-rules-set${SCORESET}/rulesrc/ || exit $? > > +# use the newest masses/ directory so that we can fix bugs in the masses/ > stuff > +# and not have the net-enabled scores broken all week > +svn up trunk-new-rules-set$SCORESET/masses/ > + > +# we need to patch the Makefile to get it to mangle some data for us > cd trunk-new-rules-set${SCORESET}/masses > patch < ../../masses-Makefile.patch || exit $? > cd ../.. > > > -- --j.
