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

Keyword to identify exported tag?

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2005-11-05 12:48:09 CET

Dear All,

Back in the land of CVS, I used to have something like this in my file
headers:

// This is Gnomovision, release $Name$

When I tagged a release (e.g. V1-0) I would create a tar file:

$ cvs export -r V1-0 -d gnomovision-1.0 gnomovision
$ tar czf gnomovision-1.0.tgz gnomovision-1.0

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?

Cheers,

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 5 12:50:30 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.