[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Global Revision keyword, again and again

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-07-30 18:04:35 CEST

On 30.07.2005, at 13:39, James FitzGibbon wrote:

> On Jul-30-05, at 1:39 AM, Florian Weimer wrote:
>
>> But parts of your working copy might still be out of date and reflect
>> a different revision.
>>
>> It's easy to embed some revision number in your binaries, the hard
>> part is making the number reflect reality.
>
> Is there some reason that the 'static char rcsid[] = "$Id$' method
> won't do what is being asked for here?
>
> If the original requester is dead-set against putting their own
> "version tag" that means something to them into the repo, then this
> time tested method would at least provide the requisite (path,rev)
> coordinates for each file used in the build process.

If 'static char rcsid[] = "$Id$"' is in a file svn_id.c then it will
only get updated when a new version of svn_id.c is committed. But the
poster wants to know the youngest revision of any file in his entire
working copy, and it doesn't make sense that he should have to
constantly commit "new" versions of svn_id.c to get that to happen.
No, the solution given in the FAQ really is the best one.

http://subversion.tigris.org/faq.html#version-value-in-source

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 30 18:06:25 2005

This is an archived mail posted to the Subversion Users mailing list.