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

Re: calling dosunix at a newline mismatch

From: Spiro Trikaliotis <news-200803_at_trikaliotis.net>
Date: Fri, 21 Nov 2008 20:26:21 +0100

Hello,

thomas dettbarn schrieb:
>>
>> Sharing WCs between OSes isn't a recommended workflow, for reasons
> i know.
> i still wonder why svn cares about it so much. ;)

The problem here (in my opinion): SVN opens all files in binary mode and
handles the line-endings "by hand" (utilising the APR macro to get the
native line-ending) instead of opening them in text mode. Using the text
mode would make this a non-issue.

It is especially troublesome if you are using Cygwin on Windows and
sometimes using DOS line endings, and sometimes using Unix line endings.
Because of this, I have re-compiled SVN myself once to allow it to use
DOS line endings (Cygwin version of SVN uses Unix line-endings by
default).

As told, this wouldn't be an issue if SVN would rely on standard
functionality instead of re-inventing the wheel here.

Just the personal opinion of
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-21 21:03:43 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.