Re: CVS Ids in source files

On Wed, 2005-05-11 at 17:51 +0200, Roland Illig wrote:
> > Every file has its own revision.
> That's exactly what I want. Suppose someone updates mc from CVS, then 
> waits a week, then updates only the src/ directory and then compiles mc.

You cannot protect against idiots.

> > There is no way to find the branch the file Id.
> There is. Take the $Revision$ and run "cvs log" to check out which 
> symbolic name corresponds to the Revision.

You may end up with more than one name.  Some files can have the same
revision on different branches.  In general case, you'll need revisions
of all files to identify the branch.

Pavel Roskin

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