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

Re: cvs2svn - is dump file platform portable?

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Wed, 13 Dec 2017 17:31:05 +0100

On Wed, 13 Dec 2017 17:22:48 +0100, Stefan Sperling <stsp_at_elego.de>
wrote:

>
>How did you copy the dump file from Windows to Ubuntu?

cvs2svn was executed on Ubuntu. The dump file was gzipped and then
moved via FTP *to* Windows.

>Beware of Windows tools which change line endings!
>I have seen that happen before and it destroyed dump files.
Yeah, I have seen these as well but not for repository files. Scripts,
though, are vulnerable.

>Zip the dump file before copying it away from windows to make
>sure it does not get mangled on the way.

So I have two dump files:
bosse-dump made by cvs2svn
loads fine in svn on Ubuntu but errors out on Windows

bosse.dump made by svnadmin dump on Ubuntu based on the above load.
Gzipped and FTP:ed to Windows, loads fine using svnadmin load on
windows.

Unfortunately it is not possible to run a compare on them because
their sources are different and so diffs are everywhere, I believe.

Probably a cvs2svn problem....

-- 
Bo Berglund
Developer in Sweden
Received on 2017-12-13 17:31:29 CET

This is an archived mail posted to the Subversion Users mailing list.