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

Re: Does svn support $Name$ ?

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-04-26 17:59:54 CEST

On Tue, 26 Apr 2005 10:47:38 -0500, Kelly Burkhart <nj2005@kkcsm.net>

>How can I embed a tag name in source code for a build of a release?

The "tag name" is just something that you associate with a path in
Subversion (e.g. /ProjectName/tags/release_1.0 or
/tags/projectName/Release_1.0 depending on your repository layout).

$URL$ will embed the full URL of a given file in to that file;
if you're displaying it to a user in some way (e.g. in a "Help ..
About" type window), then a simple piece of code can extract the exact
tag name, but that code will depend on your own particular repository


This post represents the views of the author and does
not necessarily accurately represent the views of BT.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 26 18:02:57 2005

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.