At 6:55 Uhr -0500 12.03.2002, David R. Morrison wrote:
>OK, I'm starting to understand the cause of the CVS trouble.
>
>The upstream source contains a bunch of files under CVS control, which
>include the CVS control tags.
>
>My diff file captures some of the CVS control tags, things like $Log: and $Id:
>
>I believe that this is confusing CVS when it tries to upload the file.

It is not "confusing" CVS, CVS is simply doing its job: key word 
expansion. We use this for the documentation, for example.


>Anybody have a suggested workaround?  I guess I could make foo.patch.gz
>instead of foo.patch, or try a different format for diff output.  Unless
>there is a way to tell CVS to treat the uploaded file more literally.

In this case, you explicitly don't want keyword expansion to happen, 
hence you have to tell CVS so. For this there is the "-k FLAG" switch.

For binaries (like pictures etc.), you'd say
   cvs add -kb foo.jpg bar.tiff

For text files which simply should not be keyword expanded, you use:
   cvs add -ko afile.txt


If you have to change a file after you already added it, use the cvs 
admin command:
   cvs admin -ko somefile


HTH,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to