[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Setting eol-style properly based on OS

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 27 Jan 2009 11:53:52 -0600

On Jan 27, 2009, at 08:27, aquasang_at_gmail.com wrote:

> We'd converted one of our cvs repositories to svn using svn:eol-
> style to native.
>
> However many a times developers have their nightly builds running
> on Unix but develop on Windows in Eclipse.
>
> So if I check out a copy in Unix and open it in Eclipse and run an
> svn diff, every line appears in it because of difference in the
> line delimiter. IS there some setting so I can work with the same
> copy in Windows and Unix.

Yes -- either of the two other valid settings for svn:eol-style: LF
or CRLF, which will cause the end-of-line style to be what you would
expect for those values. When I used to have that kind of development
setup (working copy checked out on Linux, accessed from a Windows
machine via Samba) we standardized on setting svn:eol-style to LF and
configuring the Windows text editor to know how to deal with Unix
line endings. Or you could go with CRLF and teach your Unix tools how
to deal with Windows line endings.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1059699

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 20:55:46 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.