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

Re: Odd Conflicts (EOL issues) in repo converted from VSS

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2007-02-05 16:30:21 CET

Damian Sinclair wrote:
>> -----Original Message-----
>> From: Jeff Smith [mailto:jsmith@robotronics.com]
>>
>
>
>> If that didn't work, I'd probably try 'export' the tree and 'import'
>> to an empty repos. I'd actually expect the dump/load to be
>> better at preserving the problem your having, else I couldn't
>> trust it when the files were binary, and needed not to be converted.
>>
>
> I suspect you're right on the dump and load behaviour, the eols are certianly preserved in the dump file itself. Won't I lose the entire history if I do an export and import though?
>
> How insane would it be to attempt to change the eols in a dump file? From a quick look it seems like all I'd need to do is strip the CR characters and rewrite the text-length and md5 checksums. Am I being naïve or would this not produce a fully working repo with all history intact?
>

What you're describing (fix EOLs, set checksums and text-length) should
work fine. The dumpfile was designed to be a rather simple and
platform-independent format.

toby
Received on Mon Feb 5 16:30:52 2007

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.