On Thursday 04 December 2008 1:08:01 pm Andrew Stitcher wrote: > On Thu, 2008-12-04 at 12:29 -0500, Daniel Kulp wrote: > > Check the svn:eol-style attribute on the files: > > > > svn proplist FILE > > svn propget svn:eol-style FILE > > > > If there isn't an svn:eol-style attribute, svn won't touch it. You > > might want to do something like: > > Does "won't touch it" mean that the line endings won't be changed at all > without the property set?
Right. Without that propery, according to svn, it's a binary file and it won't do any type of cr/lf translation. > If that is the case we need to make sure that *all* text files have the > attribute set (not just cpp ones). Yep. I've attached a script I've used for this in the past (requires gnu utilities, so probable linux required). -- Daniel Kulp [EMAIL PROTECTED] http://dankulp.com/blog
set_svn_properties.sh
Description: application/shellscript