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

RE: Bug report: The auto-props setting of svn:mime-type is impossible to avoid.

From: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 4 Oct 2015 16:33:05 +0200

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: zondag 4 oktober 2015 13:32
> To: Edward d'Auvergne <true.bugman_at_gmail.com>
> Cc: Greg Stein <gstein_at_gmail.com>; users_at_subversion.apache.org
> Subject: Re: Bug report: The auto-props setting of svn:mime-type is
> impossible to avoid.
>
> On Sun, Oct 04, 2015 at 12:52:33PM +0200, Edward d'Auvergne wrote:
> > I would maybe suggest introducing an option for disabling the entire
> > automatic property subsystem, i.e. it combines both of these, and
> > overrides them. This is an interesting thought experiment - devise
> > any name for such a top level automatic property override - and this
> > should convincingly demonstrate the confusion that the current setting
> > names induces.
>
> I think that would just make the situation worse by adding to
> the current mess.
>
> I agree the documentation needs to be improved. Would you have time
> to update the documentation and send patches for it?
>
> > The problem with the svn:mime-type block is that for svn clients <
> > 1.9, 'svn import' can never work. Specifically because the libmagic
> > layer overwrites any user decision to disable automatic properties.
>
> There's another trick to disable libmagic which works with all
> client versions. I just tested it with 1.8.
>
> Set the MAGIC environment variable to a file which does not exist.
>
> env MAGIC=/nonexistent svn import ...
>
> This effectively disabled libmagic support.

For Windows I don't think you need any disabling, as our build doesn't even
support building with libmagic there. (Perhaps somebody patched something in
their own build... but I don't think that is really an interesting
scenario).

Note that the Cygwin version is an exception to most of this... It is a
Windows build but tries to do everything the unix way.
 
        Bert
Received on 2015-10-04 16:33:23 CEST

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.