subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SravanKumar Sandela <ssand...@innominds.com>
Subject Re: svn diff on png files
Date Sat, 03 Mar 2012 03:40:50 GMT
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@elego.de> wrote:

> 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