Geoff Worboys wrote on Wed, 23 Jun 2010 at 04:12 -0000:
> Daniel Shahaf wrote:
> > i.e., 'svnadmin dump' produces CRLF for svn:eol-style=native
> > files? That surprises me; I'd expect such files to be
> > outputted with LF in dump files. (My testing agrees with my
> > expectation.) Can you double-check?
>
> > In any case, it probably *should* use LF, since dumpfiles are
> > supposed to be a portable binary format.
>
> The strange thing, to me, was that while svnadmin load did
> not "correct" the line endings when it loaded the file nor
> did svn seem to corrupt the file when checking out. (I had
> thought it might create files with CRCRLF or some such.)
> That is not a complaint BTW ;-)
>
svnadmin operates at a level below the sanity checks (it talks to
libsvn_fs directly most of the time) --- it'll load the dumpfile
literally. svn doesn't complain outright, okay, and I suspect it may
even correct the linefeeds for you on the first commit to the file in
question.
Received on 2010-06-23 06:44:24 CEST