[jdev] Re: Use of $Id$ in source files

Neil Stevens neil at hakubi.us
Wed Dec 22 07:35:43 CST 2004

Hash: SHA1

On Wednesday 22 December 2004 05:08 am, Bresler, Jonathan wrote:
> While the CVS "sandbox" knows which version is checked out,
> While one can use viewcvs.cgi to compare versions,
> One is still left with a significant problem.
> What version of each file in included in a particular release?
> For example: jabberd/lib/pool.c in jabberd-1.4.3 is version ???

The way you preserve that information is to tag each release in the CVS... 
then the symbolic tag will be stored in the repository, and will be 
visible in viewcvs.

> Based upon timestamp in viewcvs.cgi, I would guess that its
> Version 1.5.  Checking the diffs between 1.5 and 1.6 and the
> Diffs between 1.4 and 1.5...i can conclude that 1.5 is indeed
> The right version.
> This is sub-optimal.  The addition of less than 80 bytes to the
> Source file answers the question immediately.

Yes, it is sub-optimal, and implies a badly-maintained project if you have 
to do that.  The way to fix that is to tell whoever's running the project 
to start tagging the CVS when releases are made.

- -- 
Neil Stevens - neil at hakubi.us
"The world is a dangerous place to live; not because of the people who
are evil, but because of the people who don't do anything about it."
                                                 -- Albert Einstein(?)
Version: GnuPG v1.2.6 (FreeBSD)


More information about the JDev mailing list