This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RCS tags in ada source files


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]