Re: CVS Ids in source files



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]