[Cvsnt] Binary Files

Mudama, Eric eric_mudama at maxtor.com
Fri Mar 15 17:17:48 GMT 2002


One bit of wierdness regarding binary files.

On linux, extensions that are specified in the cvs config files as always
binary are case sensitive.

If you are connecting DOS-based clients to the linux archive, the dos client
attempts to check it in as the "preserved but not sensitive" case that is
used in DOS and NT.

This can result in some wierdness, especially once your dos box shifts into
compatibility mode.

I am not certain this is still an issue with CVSNT, as this wierdness was
with a port of old cvs 1.10 to windows a long time ago (2-3 year?).  I had
to basically put in all permutations of lowercase and capital for every
extension I knew was binary to guarantee they'd be recognized, which ended
up being a huge file.  (exe Exe eXe exE EXe eXE EXE anyone?)

What I *ALWAYS do after I checkin a file these days is compare it to the
original to prove to myself that I can extract it properly.

eric


> -----Original Message-----
> From: Kyrre Kristiansen [mailto:kyrre_kristiansen at yahoo.co.uk]
> Sent: Friday, March 15, 2002 5:05 AM
> To: cvsnt at cvsnt.org
> Subject: Re: [Cvsnt] Binary Files
>
>
> If you're using the command-line client, you must add the
> files using "cvs
> add -kb file", so that CVS knows that it's binary. Otherwise
> it will try to
> change the newlines in the file, which corrupts the file.
> TortoiseCVS has a
> nice feature where it recognises binary files by their extentions.
> "Administrator" <Administrator at sbcltd.com> wrote in message
> news:41B553DE6D81D5119AD90050DA7ACF700209BA at PDCSERVER...
> > Hi all,
> >
> > I have recently started using CVSNT.  I transferred over a
> cvs repository
> > formerly on linux to an NT4 box.  I set up CVSNT properly,
> and got it
> > working.  The only problem I am having is when I go to
> checkout, any files
> > that were committed as binary are being checked out in a corrupt and
> > unusable state.  Any pointers or ideas appreciated.
> >
> > Thanks,
> >
> > Dale
> > _______________________________________________
> > Cvsnt mailing list
> > Cvsnt at cvsnt.org
> > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>
>
> _______________________________________________
> Cvsnt mailing list
> Cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list