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

Re: Build numbers

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-11-13 15:08:31 CET

Tim Armes wrote:
> The $Rev$ keyword is substituted by the last revision in which a file
> changed.
>
> Is there a keyword which is substituted by the latest version of the
> repository as a whole?

No. Because that would mean "svn up" would have to change files in the wc
even though they had not changed in the repository - i.e. it would have to
function totally differently to all the other keywords.

> I'd like to use this to automatically embed a
> build number in the source.

Try using svnversion in your build process.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 13 15:10:15 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.