subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: Bug report: The auto-props setting of svn:mime-type is impossible to avoid.
Date Fri, 02 Oct 2015 10:30:40 GMT
"Edward d'Auvergne" <true.bugman@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

Mime
View raw message