[Top][All Lists]

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

Re: Lying about the author (and so).

From: Greg A. Woods
Subject: Re: Lying about the author (and so).
Date: Fri, 12 Apr 2002 14:31:18 -0400 (EDT)

[ On Friday, April 12, 2002 at 12:14:14 (+0200), Jon Krom wrote: ]
> Subject: Lying about the author (and so).
> 1. When checking-in a file into RCS, one could instruct RCS to use
>    The RCS keywords in the file to (re-)construct version numbers 
>    etc.  Very useful when importing files from a third party.

Which is a very bad idea when using CVS.

Revision numbers in CVS are "for internal use only".  Do not muck with
them, and especially not when using "cvs import"!

(The vendor branch is very special and "magic" to CVS -- it really does
need to be numbered "1.1.1" for everything to work consistently across
multiple imports.)

If you really want to preserve the RCS keywords in the third party
sources you can check out your working directories with "cvs co -ko".

(and you might ask the "vendor" to produce source releases without the
keyword, just its value, in the future -- eg. use "cvs export -kv" to
create whatever they send do you.  this way you can avoid '-ko' and add
your own keywords to the files you modify locally.)

> 2. When checking-in a file into RCS, one could "ly" about the author.
>    Also very useful when importing files that were created by someone
>    else.


> I'm now importing some files created by a third party into my CVS
> store.  I do that as a so-called vendor branch; but this branch 
> gets my user name as the author.  It would be nice to have the
> above mentioned RCS facilities, or at least the second, available
> in CVS, but I cannot find them.

Why?  You're the one who created the vendor branch in your repository.
The "blame" lies with you, not some hapless soul who may not even have
an account on your machine!  :-)

                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]