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

Re: eol-style repository normal format: which is it?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-11-10 23:01:54 CET

Someone recently reported that very piece of code as a bug (issue #2433).

Erik Huelsmann <ehuels@gmail.com> writes:

> Because I'm working on simplifying libsvn_wc, I'm working on
> (de)translation routines. Wondering what the actual Repository Normal
> Format for eol style is, I read:
>
> http://svn.collab.net/repos/svn/trunk/notes/line-endings-and-keywords.txt
>
> which says it is 1 out of 3 possibilities:
>
> 1) no eol-style set: do nothing
> 2) fixed eol-style set: translate (repairingly) to that style
> 3) native is set: translate to LF, fail on mixed eols
>
> libsvn_wc implements this scheme in at least svn_wc_translated_file2().
>
> But looking at libsvn_client/commit.c:108 (send_file_contents) [ at
> http://hix.nu/subversion/lxr/source/subversion/libsvn_client/commit.c#108
> ], we have a different scheme.
>
> So, which is it supposed to be?!
>
> If send_file_contents is correct, then shouldn't libsvn_wc be adjusted?!
>
> bye,
>
>
> Erik.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 10 23:05:10 2005

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

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