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

version label in my source

From: Stewart Johnson <stew_at_fatcaterpillar.org>
Date: 2004-04-26 19:15:18 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All -

I'd like to be able to put tag information in my source files, but I'm not
sure how to do it. If I create a tag for my project:

$ svn copy http://example.com/repos/myproj/trunk \
           http://example.com/repos/myproj/tags/REL-0.1.0 \
      -m "Release 0.1.0: snapshot build for the subsystem test team"

... then is it possible to get that release information into my source files?
ie: I'd like "REL-0.1.0" to appear in the header of my sources, and
preferably also the commit comment to be there too. Is this possible, or am I
going about this the wrong way?

I've been wrestling with this for a couple of days now, and not getting
anywhere. Any help appreciated!

Stewart.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAjUOmBGGH+7lrhRgRAhTfAJ4oZm7wy/yLQQ80opm2CgA7MlAhSgCgiNSy
FpVgpmj22PGBABWEUYw5x8Q=
=b4Sm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 26 19:15:53 2004

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.