On Tuesday 06 December 2005 01:23, oggie rob wrote: > FYI here are the 'text' file endings that are used throughout (if you > used autoprops in your config file you would set these to > eol-style:native): > .css > .html > .js > .po (?) > .py > .txt > And here are the binary ones (which you wouldn't include in the > autoprops): > .gif > .mo > .png > > That only works for adding/importing new files, though. As for setting > them currently, one possible way is to recursively set the values to > native, then go to those directories that have binary files and use > propdel. But as I said I'm new to svn, there is probably a better > way...
Unfortunately, that's the way to do it right now. :-( One of the not-too-distant goals for Subversion is grow server-side configuration and inherited properties so that you can do this stuff easier. But that ability doesn't exist today. Also, something I do in my shop, is set up a pre-commit hook and make sure that all new files have the appropriate eol-style set. If it doesn't, then I send a message informing them of the bad file(s), and abort the commit (by exiting with a non-zero return value). Whatever you write to stderr in the pre-commit hook script will be propagated back to the end user. This way, if someone doesn't have their client's autoprops configured correctly, you can reject the commit and have them fix it. -John