info-cvs
[Top][All Lists]
Advanced

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

Re: How to import with some binary files?


From: Pierre Asselin
Subject: Re: How to import with some binary files?
Date: 26 Oct 2001 14:47:57 -0500

"Chris Bailey" <address@hidden> writes:

>I have a bunch of files I want to add to add to a new CVS module.  The
>problem is that some of the files are binary, and some that are binary
>don't have file extensions (this is on Linux, with CVS 1.11)

Is it third-party source, or is it your source tree and you're only
using import for convenience?

If it's your source tree, you could move the binaries out of the way,
do the import, check out a sandbox, copy the binaries into the
sandbox, and cvs add them with the -kb option.

If this is really a third-party source tree, you could import from
Linux and manually do an `rcs -kb' on the repository files (assuming
you have a shell account on the cvs server).

You could even check out a sandbox on Linux and do a cvs admin -kb
form there.


>[...]  But, I've added plenty of .gif files to our repository
>with just a straight "cvs add file.gif", and it works fine.  Our
>cvswrappers file does not have anything in it right now.  How is this
>working?

The -kb does two things:
    1) turn off line-ending conversions;
    2) turn off the expansion of RCS keywords.

If you only work on Linux, (1) is a no-op anyway.  Your .gif files
must not contain any byte sequences that look like RCS keywords,
so (2) hasn't triggered yet.  But it could happen.

--
Pierre Asselin
Westminster, Colorado


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


reply via email to

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