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

Re: Generating a dump file using a powershell script

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 23 Jun 2010 07:44:42 +0300 (Jerusalem Daylight Time)

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

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.