[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binary files and cvswrappers
From: |
Eric Siegerman |
Subject: |
Re: Binary files and cvswrappers |
Date: |
Mon, 21 Oct 2002 14:16:08 -0400 |
User-agent: |
Mutt/1.2.5i |
On Sun, Oct 20, 2002 at 04:20:40PM -0400, Larry Jones wrote:
> address@hidden writes:
> > Ultimately my question is - is my repository invalid as a result of
> > having used the wrong cvswrapper entry to import a large number of files
> > and versions?
>
> Maybe. If your (server) platform distinguishes between text and binary
> files (Windows does, Unix-like systems don't), then your repository is
> corrupt.
Or if:
- any of the binary files happen to contain things that look like CVS
keywords, and
- you imported them as text, using a -k option other than -ko
> [...] use
> the admin command to set the files to binary mode for clients that do
> distinguish.
In situations like this, I tend to:
- make a cvswrappers file that does as close as possible to the
right thing
- import the project
- clean up the errors manually, using the techniques Larry
describes
- compare "cvs log" output with "find $vendor_root | xargs file"
output (munging the two in vi to be diffable -- some day I'll
write a Perl script :-)
- compare the files themselves by diffing a freshly checked-out
sandbox against the tree I originally imported (actually, I
almost always do this one, except for packages I know well)
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
| | /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".