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

Re: "svn add" crashes in case of missing magic.mgc

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 9 Jul 2019 12:47:23 +0200

On Tue, Jul 09, 2019 at 11:58:35AM +0200, Thorsten Schöning wrote:
> Guten Tag Stefan Sperling,
> am Montag, 8. Juli 2019 um 20:36 schrieben Sie:
>
> > As a workaround, you can disable use of libmagic in SVN's configuration.
> > In ~/.subversion/config, add these lines:
>
> > [miscellany]
> > enable-magic-file = no
>
> What would be the consequences of disabling? Do added files get some
> common fallback mime like octet-stream or none or forces "add" me to
> provide one?

The fallbacks are auto-props, and then octet-stream if the file
is considered binary or no svn:mime-type otherwise.

And you can always set a mime-type manually before committing a
newly added file.
Received on 2019-07-09 12:47:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.