[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 02 Oct 2015 11:30:40 +0100

"Edward d'Auvergne" <true.bugman_at_gmail.com> writes:

> I was wondering if there was anything that has been missed here? Is
> this a real bug? The svn:mime-type property is not needed and is not
> desired for any file in this repository. Any help would be
> appreciated.

You can disable libmagic by setting the environment variable MAGIC

$ svnadmin create repo
$ svn co file://`pwd`/repo wc
$ echo "<?xml version='1.0' encoding='UTF-8' ?>" > wc/a.xml
$ echo "<?xml version='1.0' encoding='UTF-8' ?>" > wc/b.xml
$ svn add wc/a.xml
A (bin) wc/a.xml
$ MAGIC= svn add wc/b.xml
A wc/b.xml
$ svn pl -vR wc
Properties on 'wc/a.xml':
  svn:mime-type
    application/xml

-- 
Philip Martin
WANdisco
Received on 2015-10-02 12:30:57 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.