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

RE: using $Header $ and $Log $

From: Stuart Arnold <sja_at_mdtsoft.com>
Date: 2004-07-20 14:34:49 CEST

We use the $Header: $ and $History: $ as well (currently under VSS, migrating to SVN).
We do NOT use the $Id:$ because of the various interpretations of it in different RCS systems (file name only, no path).
All systems I've seen have supported "$Header: $"

We also USE this tag by running "ident" on the .exe/.dll and have a perl script
that grabs the embedded id and makes a report on the differences (it gets the history from vss).
This helps to see what actually got in our builds.

We are very new to SVN (official start date is next week) and are looking at any possible problems.
This will be a high one. So, how/who can implement putting in this keyword?

Don't put this vital keyword in comments. It doesn't do any good. Use this (for C)
    static char rcsid_my_filename_cpp[] = "$Header: $";
You want to be able to get this tag out of any compiled code (exe/dll). Be careful on "included" files to make them "safe named".

It is MDT, Inc's policy to delete mail containing unsolicited file attachments. Please be sure to contact the MDT staff member
BEFORE sending an e-mail with any file attachments; they will be able to arrange for the files to be received. This email, and any
files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please advise postmaster@mdtsoft.com.
- Stuart Arnold
MDT Software
Alpharetta, GA
W: 678.297.1027
Email(W): sja@mdtsoft.com
  -----Original Message-----
  From: greg milich [mailto:gmilich@optonline.net]
  Sent: Monday, July 19, 2004 10:48 PM
  To: dev@subversion.tigris.org
  Subject: using $Header $ and $Log $
  Using CVS we put this at the top of our java files ...
  We migrated to svn and this does not seem to do the trick,
  I assume svn has a similar capability ...what are we missing.
  Also old file which have header and log histories from cvs are
  not updated with log info from svn.
  We can't seem to find this documented ... Please shed some light on this ... thanks.
  ** $Header: $
  ** $Log:  $
Received on Tue Jul 20 14:37:53 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.