Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
all
-
None
Description
"svnadmin load" command is unable to handle a CRLF-delimited dump file, only a LF-delimited one. Surely this is incorrect? Steps to repro .. 1. svnadmin dump /repos >dumpfile 2. Use some utility to convert all LF to CRLF (I used Windows Wordpad!) 3. svnadmin load /repos <converted-dumpfile Observed (stderr) svn: Malformed stream data svn: Found malformed header block in dumpfile stream. Expected: Repository to load successfully. I found this out accidentally when I mangled the dump file by appending it do another one. When I tried fixing the file up by editing (in Wordpad) Plaform: This was svn-0.32.1-setup.exe as downloaded from tigris.org, running on Windows 2000. However I don't see why any of them shouldn't be affected. Is svnadmin load using the wrong file mode to open stdin <g>? I would have thought APR or something would have automatic processing for different newline styles (CR only, LF only, CFLF)
Original issue reported by walternicholls