This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Add revision number to gcc version?
On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote:
> Daniel Jacobowitz wrote:
> >On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
> >
> >>I like this, but what if you also did an svn status to see if there were
> >>any modifications WRT the branch/revision and then add either 'clean' or
> >>'modified' to the information.
> >>
> >>So you would get (gcc-4_1-branch revision 108596 modified) or
> >>(gcc-4_1-branch revision 108596 clean)
> >
> >
> >I think we already had this discussion and decided that svn status took
> >too long in many cases.
> >
>
> Maybe have a configure option to disable svn status and return 'unknown'
> if you disable the svn status part.
Did you mean something like
./contrib/gcc_update --disable-svn-status
I can certainly do that.
>
> It is unfortunate that svn status is so slow, as I think this would be
> useful information to know.
>
This is the test result of my first patch:
http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00865.html
H.J.