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

Re: pre-commit hook with extension checking for binary files

From: Karl Fogel <kfogel_at_google.com>
Date: 2006-09-22 00:33:53 CEST

"Justin Patrin" <papercrane@gmail.com> writes:
> I've taken a pre-commit hook written by Jacques Marneweck and added
> checking of file extensions to make sure that files with a binary
> extension (pdf, fla, etc) are added with an svn:mime-type of
> application/octet-stream. This helps quite a bit for those of us using
> svnnotify.
>
> http://pear.reversefold.com/dokuwiki/doku.php?id=svn:pre-commit

Wouldn't you want application-specific MIME types for those things?
E.g., "application/pdf" and so on?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 22 00:34:40 2006

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.