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

eol-style repository normal format: which is it?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-11-10 22:55:48 CET

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.
Received on Thu Nov 10 22:56:32 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.