Re: inconsistent new lines - repair by modifying dump?
Ryan Schmidt schrieb:
>> 1. svnadmin dump the repo to a file
>> 2. dump file uses LF, so it would be no problem
>> to replace single CRs by
>> 3. load dump file into fresh repo
>> Is there any error-potential?
>> The outcome should be the same as if
>> the files were checked in initially
>> with correct line endings, or am I overlooking something?
> The dumpfile contains checksums of the data, so changing the line
> endings of your text files -- or making any other change to the file
> data in the dumpfile -- would cause the checksums to no
> longer match the data and the dumpfile to be declared corrupted.
Well, that's important... Thanks for pointing that out!
> You may want to look into svndumptool, which I understand may help
> specifically with fixing line endings in files:
That looks great, although I will have to modify it to suit my needs
(convert all line endings to CRLF).
I'll give it a try.
Received on Wed Apr 25 10:40:33 2007
This is an archived mail posted to the Subversion Users