On Sun, Oct 20, 2002 at 04:20:40PM -0400, Larry Jones wrote:
> [EMAIL PROTECTED] 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.        [EMAIL PROTECTED]
|  |  /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to