
Robert Ramey wrote:
I'm having problems checking in a couple of file types:
*.vcproj // text xml for VC projects *.sln // text xml for VC solutions
These don't appear in my local SVN configuration. And the pre-commit script is complaining about them. Could this be fixed please?
As I understand it, this is deliberate, and it's up to you to ensure that every file you commit has valid Mime types set. To do this automagically in future: locale your SVN config file and add something like: *.sln = svn:eol-style=native; svn:mime-type=text/xml *.vcproj = svn:eol-style=native; svn:mime-type=text/xml However, since you have already added them, you will need to add the properties manually before committing: if you are using TortoiseSVN then right click and SVN->Properties will give you a dialog that displays existing properties and lets you set new ones. Set svn:eol-style to "native" and svn:mime-type to "text/xml". Otherwise you can use the command line: svn propset svn:mime-type=text/xml filename etc to achieve the same effect. HTH, John.