CVS Ids in source files
Pavel Roskin
proski at gnu.org
Wed May 11 22:03:07 UTC 2005
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.
--
Regards,
Pavel Roskin
More information about the mc-devel
mailing list