CVS Ids in source files

Pavel Roskin proski at gnu.org
Wed May 11 02:07:02 UTC 2005


Hi, Roland!

On Tue, 2005-05-10 at 23:02 +0200, Roland Illig wrote:
> I would like to include a declaration like the following into every .c file.
> 
> static const char mc_cvsid[] = "$Id";

Please don't do it.  CVS doesn't handle it properly.  It can cause
conflicts when merging branches.  Also, the Id in CVS is rather
meaningless.  Every file has its own revision.  There is no single
revision for the tree.  There is no way to find the branch the the file
Id.  In fact, CVS doesn't seem to have any keyword that would indicate
the branch.

We need to move to a better versioning system some day.  I just hope
that Savannah will start supporting Subversion.

-- 
Regards,
Pavel Roskin




More information about the mc-devel mailing list