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

Need to chaeck mime-type on a specific extension

From: Michael Toal <mtoal.svn_at_gmail.com>
Date: Tue, 16 Aug 2011 15:52:41 -0500

Hi, I need to reject commits that have a file extension .mdl and don't have
svn:mime-type set to application/octet-stream.

Does anyone have a pre-commit hook that will do this or similar?
Thanks.
Michael.
Received on 2011-08-16 22:53:11 CEST

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.