cvs_weird_case_preventing_changes

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Tue, 21 Nov 2000 19:48:48 -0800 (PST)
From: Ivan Passos <lists@cyclades.com>
To: svlug@svlug.org
Subject: Re: [svlug] [Maybe OT] CVS and $Id tags in src files


On Tue, 21 Nov 2000, Ivan Passos wrote:
> 
>  lalala.c:
> 
>  /* lalala.c
>   * Based on file lalala_orig.c from XYZ project
>   * $Id: lalala_xyz.c,v 1.34 1993/02/01 11:11:11 bofh Exp $
>   */
> 
> The problem is that when I import this src tree to CVS and then check it
> out, CVS changes these lines!! As they're reference lines (not the actual
> version of the current code), I'd like to keep them intact.
> 
> Does anyone here know how to do that, i.e. force CVS _not_ to change these
> lines in the src code??

Replying to self: I finally found the answer to my question (I only wish I
had found it before sending the original msg to the list ... :( ...).

If anybody has the same problem, the information is at:

http://www.cvshome.org/docs/manual/cvs_12.html#SEC101

Sorry for the unnecessary traffic ... :(

===
From: David Madison <svlug.org@daveola.com>
Subject: [svlug] [Maybe OT] CVS and $Id tags in src files
To: svlug@lists.svlug.org
Date: Wed Nov 22 07:42:10 2000

> I'm trying to create a new CVS src tree for one of my project. This
> project includes files that have $Id comments as references to the src
> files they were based on. For instance:

$Id$ expansion is part of rcs checkout, which CVS is built on top of.
You can find this information in the man page for rcs checkout:

% man co
/\$Id

It looks like you can get around this (for the sake of binary files)
From the cvs FAQ at http://www.loria.fr/~molli/cvs/cvs-FAQ/FAQ:
  If RCS keyword strings show up ... they will be altered unless
  you set the '-ko' option:

    cvs admin -ko <file>
    rm <file>
    cvs update <file>

But the real question might be why you are doing this.  The point of
$Id$ is to keep track of the current information for the file.  If 
you don't want to lose previous ownership information, you might want
to look at $Log$, or else change the "$Id..$" to something like "$Old_Id..$"

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu