[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: handling binary file

From: Alex Turner <armtuk_at_gmail.com>
Date: 2006-07-28 00:32:36 CEST

One of the problems is that a PDF file starts as a text file, and has binary
components later on, so a txt/bin detect will often pick up a PDF as being
text not binary.

Alex.

On 7/27/06, Les Mikesell <lesmikesell@gmail.com> wrote:
>
> On Thu, 2006-07-27 at 16:53 -0400, Ming Zhang wrote:
>
> > > Funny you should say that - comming from CVS. It's CVS that treats
> > > files as binary or text. Normally as text and you need to supply an
> > > extra flag (-kb) to tell CVS a file is binary.
> >
> > i guess we did not do that on CVS.
>
> I think at least some of the GUI interfaces to CVS (wincvs?) pre-scanned
> the contents and made intelligent guesses about which ones needed the
> -kb on the initial import or add.
>
> > >
> > > SVN treats all files as binary and leaves the content alone, unless
> > > you explicitly tell it not to. (Though in order to be able to diff and
> > > merge, svn tries to make an estimate.)
>
> SVN can't really change the fact that text files have different native
> representations on different platforms - it just has the default
> choice backwards from CVS.
>
> --
> Les Mikesell
> lesmikesell@gmail.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Fri Jul 28 00:33:43 2006

This is an archived mail posted to the Subversion Users mailing list.