[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: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 4 Oct 2015 13:32:26 +0200

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.
Received on 2015-10-04 13:32:48 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.