On Apr 27, 2011, at 20:06, Tony Butt wrote: > On Wed, 2011-04-27 at 02:05 -0500, Ryan Schmidt wrote: >> Do educate on which files should have svn:eol-style set to what value, and >> do encourage developers to use auto-props to automate what they learned, but >> also install a pre-commit hook script in the repository that absolutely >> prevents the problem from happening in the future. If you've decided for >> example that .txt files shall have the svn:eol-style set to native, then >> write and install a pre-commit hook script that prevents anyone from adding >> any .txt file that does not have svn:eol-style set to native. >> > > Do you know offhand of a similar script to require particular > properties?
It seems that there should be a generic pre-commit script that would prevent any commit that doesn't match the properties specified in the autoprops section of a given config file. But I don't know where that script might be.