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

Re: SVN status indicating a file is modified when it's not.

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-29 18:20:57 CEST

On Mar 29, 2006, at 18:13, Wayne J wrote:

>> I think if you're going to have a working copy that's used both from
>> Windows and from Unix then you shouldn't use svn:eol-style=native
>> because it'll just confuse Subversion, as you're seeing. I'd set
>> svn:eol-style to either DOS-style or Unix-style line endings,
>> whatever you need, and then ensure that your editors on both Unix and
>> Windows use this line ending style.
>
> Isn't this the whole point of having the svn:eol-style = native?
>
> Some windows applications simply do not handle Unix style EOLs well at
> all.

If that's the point, then fine, do that, but then you must check out
and manipulate the working copy exclusively from windows. It's only
"native" to the OS doing the Subversion manipulation. So if you check
out on Unix, you get Unix linefeeds. If you then try to edit that
working copy on Windows, the linefeeds are Unix-native, not Windows-
native. Hence the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 29 18:22:13 2006

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.