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 06:04:46PM -0800, Mike Stump wrote:
> On Dec 19, 2005, at 5:34 PM, Jim Blandy wrote:
> >On 12/19/05, Mike Stump <mrs@apple.com> wrote:
> >>But it doesn't do what people really want it to by design.  :-(
> >
> >And that would be?
> 
> http://subversion.tigris.org/faq.html#version-value-in-source
> 
> I would like something, that substitutes automatically, works on svn  
> co and svn up and can be used to obtain the exact sources I was  
> playing with, given say a hard coded url and branch name.  I can  
> promise to only co or up the whole tree and to not have any  
> modifications in the tree.  Ideally, I'd like this to be stable, so  
> that the number doesn't increment if there are no actual changes in  
> my tree, though, this last point isn't critical.

I don't see how the current svn supports updating a single file with
the current revision number for each checkin.


H.J.


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