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

Re: Faster autodetect of mime-type upon "svn add"

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-04-24 18:16:16 CEST

junkio@cox.net writes:
> The attached patch teaches svn_io_detect_mimetype to guess mime
> types from suffixes of filenames. This allows the user to say
> "svn add foo.html bar.jpg" and svn:mime-type is set for these
> files. The original code in r5718 would leave foo.html typeless
> and bar.jpg is given application/octet-stream.

You might want to also look at / annotate

   http://subversion.tigris.org/issues/show_bug.cgi?id=1233

which is a similar patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 19:02:18 2003

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.