RCS tags in ada source files

Magnus Fromreide magfr@lysator.liu.se
Wed Mar 13 13:19:00 GMT 2002


On Wed, 13 Mar 2002, Geoffrey Keating wrote:

> This causes problems with branching and merging.
>
> Would people prefer:
>
> 1. Using -kb on these files, so that the tags are kept but not changed
>    by CVS; or

This is a bad idea. -kb means that each version is saved in full and that
no merging takes place. If you are to play tricks with the keywords then I
think -ko or -kk would be bettar.

One (evil?) alternative would be to use -kv. (Substitute with the value of
the tag, i.e. $Revision: 1.6.8.1 $ is substituted by 1.6.8.1) and then the
problem is gone with the next commit.

> 2. Deleting the tags?

On the other hand I have to admit that I do think Stan Shebs have got a
point. Death to all RCS keywords!

I would prefer this solution.



More information about the Gcc mailing list