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

Re: svn 1.4.5 bug with diff on binary files

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-09-02 00:30:04 CEST

On Wed, Aug 29, 2007 at 06:15:47PM -0700, Wade Carpenter wrote:
> I was just noticing that there is a difference in the output when
> using the internal and external diff because the internal diff, that's
> all.
>

That's because you've created a binary file and then told Subversion
that it's text (by removing the svn:mime-type property). Subversion
believes you and shows the (meaningless) diff, but GNU diff isn't quite
so simple, and tells you you're diffing a binary file.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Sun Sep 2 00:27:14 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.