You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tim Armes <ta...@fr.imaje.com> on 2003/11/13 13:24:14 UTC
Build numbers
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? I'd like to use this to automatically embed a build
number in the source.
Tim
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Build numbers
Posted by Max Bowsher <ma...@ukf.net>.
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