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

Re: Keyword to identify exported tag?

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2005-11-05 15:27:27 CET

On 2005-11-05 11:48:09 +0000, Phil Endecott wrote:
> Or something like that - it's only been a few weeks and I'm already
> forgetting the syntax! Anyway the point is that CVS would replace
> $Name$ with the tag that I had used in the export command, so people
> looking at files from the tar could see what release they had come from.
> (This is my project release name/number, not the revision of the
> individual file or anything else.)
> I'd like to be able to do something similar with Subversion. It can
> happen either when I "svn copy" (or "svncopy.pl") to tag the release, or
> when I export to create the tar file. I already have a wrapper script
> to do the export-and-tar so that would be a good place to add it.
> Can anyone suggest a good way to do this?

With Subversion, this can already be done with the Rev keyword,
but you'll just get a number identifying the tag. The URL keyword
gives more information. Or you can just use sed, perl or whatever
if you think there won't be any problem with binary files.

Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 5 15:29:32 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.