This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add revision number to gcc version?


On Mon, Dec 19, 2005 at 01:26:18PM +0000, Richard Earnshaw wrote:
> On Fri, 2005-12-16 at 05:02, H. J. Lu wrote:
> 
> > 
> > In my patch, gcc/REVISION is created by gcc_update. If you don't use
> > gcc_update, gcc/REVISION may not be there.
> > 
> > In any case, when we agree on what to put in gcc/REVISION, I can
> > provide a new patch.
> 
> Maybe we should just set up the commit filters so that a new version of
> REVISION is committed with each check-in.  That way it will work with
> every check-out method, and what's more we get the date/time of the
> commit rather than the date/time of the checkout.

What do you put in REVISION? Can you ask svn for revision number before
check-in? If not, do you need 2 check-ins to update REVISION for each
check-in?


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]