On Feb 12, 2010, at 16:05, Bob Archer wrote:

>> Is there any way to change the native newline mode for a particular
>> working copy?
>> 
>> I'm checking out code in Linux, over a CIFS mount to a Windows machine
>> where it's being used.  This is much easier for me than any of the
>> solutions involving Windows clients, but ends up with Unix line
>> endings, leading to newline headaches.
> 
> This is pretty well explained in the documentation book. Read about the 
> svn:eol-style property.
> 
> http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.eol-style

Bob, I think Glenn's saying that he has set svn:eol-style to native, and he's 
checking out on a UNIX OS but he wants the eol-style of the files to be native 
to Windows, not UNIX.

Unfortunately, Glenn, I don't see a way to do that. svn export has an option 
for this, but svn checkout doesn't.

  --native-eol ARG         : use a different EOL marker than the standard
                             system marker for files with the svn:eol-style
                             property set to 'native'.
                             ARG may be one of 'LF', 'CR', 'CRLF'

I used to work at a company where we had the same workflow. We decided to never 
use svn:eol-style native. Instead, we set svn:eol-style to LF, and configured 
our Windows editors to know how to deal with such files.

Reply via email to