[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: SravanKumar Sandela <ssandela_at_innominds.com>
Date: Sat, 3 Mar 2012 09:10:50 +0530

Hi Philip, Stefan,

Thanks for the info, the svn we are using is from cygwin tool, and we did
not compile any svn exclusively, it has just been a download and install
process. Can you point me more to MAGIC environment variable setting to an
empty file?, like how to do it?.

This is important for us, because users around the world have not yet
completely shifted to 1.7, but once they shift or for new comers, we have
to fix the script to take care of this issue, so can u please tell us how
and where to find this MAGIC env var and how could it be set?.

Thanks in anticipation.

-Sravan.

On Sat, Mar 3, 2012 at 12:05 AM, Stefan Sperling <stsp_at_elego.de> wrote:

> 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-03 04:48:27 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.