On Thu, 5 Mar 2009, H.J. Lu wrote: >>> Maybe we can remove DATESTAMP and updating it now that >>> gcc_update understands to extract the SVN revision number? >> Anyway, removing DATESTAMP would change the issue to new snapshots with no >> changes rather than with just DATESTAMP changes. > My regression hunt script has > > # Get the new checkins since the last revision. > svn log -r$LAST_REVISION:$REV $REP_URL | > egrep -v "^r$LAST_REVISION" | > egrep -v "gccadmin" | > egrep "^r[0-9]+" > rev.log > > # Check if rev.log is empty. > if [ ! -s rev.log ]; then > echo No new checkins since revision $LAST_REVISION! > rm -f lock > exit 0 > fi > > Of course, you have to remember the revision when > the last snapshot was made.
We already have LATEST-4.X symlinks under ~ftp/pub/gcc/snapshots which point to the latest snapshot of the 4.X release branch. We could easily add LATEST-4.X-REVISION files which contain the SVN revision number. I'd be in favor of that. Does anyone have strong objections? Would you like to give it a try? Gerald