subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: svn diff on png files
Date Fri, 02 Mar 2012 18:35:53 GMT
On Fri, Mar 02, 2012 at 09:47:12AM +0000, Philip Martin wrote:
> SravanKumar Sandela <ssandela@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.

Mime
View raw message