This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.3.5 Status Report (2010-05-22)
- From: Dongsheng Song <dongsheng dot song at gmail dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, NightStrike <nightstrike at gmail dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 1 Feb 2011 22:44:17 +0800
- Subject: Re: GCC 4.3.5 Status Report (2010-05-22)
- References: <alpine.LNX.2.00.1005222256320.1429@zhemvz.fhfr.qr> <alpine.LSU.1.99.1005232108210.26362@acrux.dbai.tuwien.ac.at> <AANLkTikwR2VZuowxH4ijoHghs2qIdaTiehYzu9UF2_R1@mail.gmail.com> <AANLkTi=N-x87fDAD3uzR6Ady--k7Gtj48TgxwukRBA45@mail.gmail.com> <alpine.LNX.2.00.1101302252110.14698@gerinyyl.fvgr> <AANLkTinBdPUZ2F88Eo2dFjC_kRXycUrmWni0t__KwPhX@mail.gmail.com> <AANLkTika1RB7qMcjbB9FLSHpU-hsgZBOtUei2H7=-PYw@mail.gmail.com> <AANLkTi=R6pa3JBjSDf_=WoZEwXB6he_1BuwXCaZL_Cuc@mail.gmail.com> <Pine.LNX.4.64.1101311753400.4363@digraph.polyomino.org.uk> <AANLkTimNTVb4-rOc+7eSS9Vz_c-UADvCG1BXxgsu1F6a@mail.gmail.com>
On Tue, Feb 1, 2011 at 18:31, Richard Guenther
<richard.guenther@gmail.com> wrote:
>
> The DATESTAMP change could also be in a post-commit hook (doing
> nothing if the date didn't change, of course). ÂNo idea whether this
> is technically possible of course.
>
> Richard.
>
Yes, the post-commit hook can do this task.
If we really want to do that, I can update the current post-commit
hook script [1].
*) Get DATESTAMP for the current branch in the repository, e.g.
$ svn cat svn://gcc.gnu.org/svn/gcc/trunk/gcc/DATESTAMP
20110201
$ svn cat svn://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch/gcc/DATESTAMP
20110201
...
*) Get the current DATESTAMP
$ /bin/date +"%Y%m%d"
20110201
*) If the two DATESTAMP is equal, do nothing; otherwise update the
DATESTAMP in the repository.
[1] svn://gcc.gnu.org/svn/gcc/hooks/post-commit
--
Dongsheng