On Wed, Nov 20, 2013 at 09:19:16AM +0100, Johan Corveleyn wrote: > I'm not sure, but isn't libmagic support in svn unix-only? I've never > seen it being part of a Windows build. Maybe there's a Windows > alternative, but I've never seen it in an svn build.
Oh, I believe this is simply because nobody has ever bothered trying. http://subversion.tigris.org/issues/show_bug.cgi?id=3914 Wanna give it a go? > And even with libmagic (or something similar), it would be really nice > if one could configure in svn (client and/or server-dictated) the > mime-types which should be considered text. That would nicely separate > the detection of file type from the decision of which type is > considered text. I see the problem that a lot of application/* mime-types actually describe text files. Sigh... I wish the world had stuck with text/* names for such files. This is causing needless complexity. I ackknowledge that it would be nice to have a solution, but I'm not going to argue for one solution or another. As long as we don't end up having to maintain a list of mime-types in Subversion, I'm happy.