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

Re: svn diff on png files

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 2 Mar 2012 19:35:53 +0100

On Fri, Mar 02, 2012 at 09:47:12AM +0000, Philip Martin wrote:
> SravanKumar Sandela <ssandela_at_innominds.com> writes:
>
> > 5. If this is buggy, has it been already fixed, if not then what does the
> >
> >
> > ## -0,0 +1 ##
> > +image/png
> >
> > mean?
>
> It's intentional, 1.7 shows property diffs as unified diffs:
>
> http://subversion.apache.org/docs/release-notes/1.7.html#diff-properties

Also, mime-type detection with libmagic switches the automatically
configured mime-type from 'application/octet-stream' to 'image/png'.
http://subversion.apache.org/docs/release-notes/1.7.html#libmagic-support
If you don't like this, either compile Subversion without libmagic,
or make the MAGIC environment variable in svn's environment point to
a file that does not exist or is empty.

There is no way to get the 1.6 property diff output back with a 1.7
client. I'm sorry that this incompatible change breaks your script.
The reason this change was made is that 'svn patch' needs to parse
property changes from patch files and apply them to a working copy.
Received on 2012-03-02 19:36:35 CET

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

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