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

Re: Faulty line-end handling in "svnadmin load"?

From: Michael Haggerty <mhagger_at_alum.mit.edu>
Date: 2007-08-21 00:33:50 CEST

C. Michael Pilato wrote:
> Michael Haggerty wrote:
>> 3. Or is it indeed an intended requirement of "svnadmin load" that
>> files be committed using the same line-end convention as specified in
>> their svn:eol-style property (i.e., a cvs2svn bug)?
>
> Yep.

Karl Fogel wrote:
> So I don't know how this person's CRLF file got written to the
> dumpfile with a different line-end convention, but that's where the
> badness stared. If Subversion did that, then Subversion has a bug.

The dumpfile was written by cvs2svn, which currently normalizes all
non-binary files to RNF (i.e., always LF). I will obviously have to
change this behavior.

But if it causes Subversion problems to have a file with
svn:eol-style=CRLF but contents using RNF, then I claim that "svnadmin
load" should reject such data with an error message rather than silently
accepting inconsistent data. If you agree then I will check in a
Subversion bug to that effect.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 21 00:31:32 2007

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