[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: Justin Patrin <papercrane_at_gmail.com>
Date: 2006-10-06 17:55:03 CEST

On 9/21/06, Karl Fogel <kfogel@google.com> wrote:
> "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?
>

I suppose so, I just never thought of that. (I'm not really sure what
utility making such a change would have...) All I was trying to do was
make sur ebinary files showed up as binary in our commit e-mails. ;-)

-- 
Justin Patrin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 6 17:55:54 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.