C++ code has some confused line endings

2008-12-04 Thread Andrew Stitcher
Since the win32 port work was committed I've noticed that some (all?) of the files touched have gained windows style line ending markers in some places. If you are working on the win32 port would you make sure that you have svn configured so that it knows not to check in win32 style line endings

Re: C++ code has some confused line endings

2008-12-04 Thread Daniel Kulp
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: find . -name *.cpp -exec svn propset svn:eolstyle native {} \; or something to make sure it

RE: C++ code has some confused line endings

2008-12-04 Thread Steve Huston
Hi Andrew, Since the win32 port work was committed I've noticed that some (all?) of the files touched have gained windows style line ending markers in some places. Hmmm... If you are working on the win32 port would you make sure that you have svn configured so that it knows not to check

Re: C++ code has some confused line endings

2008-12-04 Thread Andrew Stitcher
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

Re: C++ code has some confused line endings

2008-12-04 Thread Daniel Kulp
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

Re: C++ code has some confused line endings

2008-12-04 Thread Daniel Kulp
On Thursday 04 December 2008 1:17:59 pm Daniel Kulp wrote: On Thursday 04 December 2008 1:08:01 pm Andrew Stitcher wrote: 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