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

Re: Feature Request: Repository Version property keyword

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2004-09-09 20:23:06 CEST

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

BR, Jani

On 2004-09-09 13:01-0500, Caleb Tennis wrote:
>
> The svn:keywords namespace could benefit from another addition - something
> like "RepositoryVersion" which could act much like "LastChangedRevision" only
> it updates at each repository commit and not just on the particular file
> change.
>
> This feature would be nice because the text of the expanded string could be
> directly encoded into code or text of what's being written. For example, in
> a C program:
>
> const char *repo_version = "$RepositoryVersion$";
>
> Then the program in question could utilize this version information. For
> example, programs we use here can utilize this as a "build" number which the
> user can know what version of the software they are running.
>
> A current workaround for this exists using scripts and getting a number from
> the 'svnversion' command (this is done, for example, by the scripts which
> generate the docbook output for the Subversion online book), but having
> direct expansion directly in the version controlled file would be a nifty
> feature as well.
>
> Thoughts? Comments? Shall I file an issue?
>
> Regards,
> Caleb (please cc me directly)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 9 20:23:25 2004

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

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