Re: svn EOL
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-09-01 13:24:59 CEST
>>>On Mon, 01 Sep 2003 11:49:44 +0200
No - Subversion doesn't choose an EOL style, it just preserves the file's existing EOL style unless you tell it to change it.
>>>> For C(pp) and include files, this is fine and studio works well
Timothee Besset wrote:
> svn
Hold on! If that is true, there should be an issue about making the behaviour less absurd. Are you making a fair assessment of the situation?
> will still have to set the props on .dsp/.dsw to have them with the right
Not necessarily. By default, Subversion doen't change the files at all, so if those files have the correct EOL style for Windows (CR-LF) originally then they will still have the correct EOL style (CR-LF) when Subversion checks them out, regardless of which platform Subversion is running on.
> The *right* way of things IMO would be to have svn use the native eol of
"Right" for your environment ... see below.
> This *used* to be the case, and it was
Exactly. Subversion by default carries a faithful copy of the file from one platform to another. If your editors "screw up" the formatting, then you can ask Subversion to help you out by setting "svn:eol" to "native" or another setting.
This is much safer than Subversion defaulting to a mode which modifies the file, because not every file
> (specially bad for guys like us who do OSX - Linux - win32 .. we
What you want isn't unreasonable. You want to say something like "All of MY files should have Native EOL style." I would support a patch that provides a convenient way of controlling the default EOL style.
- Julian
> On Mon, 01 Sep 2003 12:03:31 +0200
---------------------------------------------------------------------
|
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.