[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: Branko ─îibej <brane_at_apache.org>
Date: Wed, 13 Dec 2017 16:27:49 +0100

On 13.12.2017 15:33, Bo Berglund wrote:
> While investigating the methods to use when migrating our CVS
> repositories from CVS to SVN I converted one of the smaller CVS
> respositories to an svn dump file using cvs2svn 2.5.0 on an Ubuntu
> Server 16.04.3 machine.
> Then I moved the dump file over to the target Windows 2016 Server
> where I had just installed VisualSVN and tried to use the VisualSVN
> GUI tool to load the dump into a new repository. But it threw an error
> box displaying:
> "Could not convert ' 2' into a number"
> Next I tried to load it from the command line:
> svnadmin load \SVNREPOS\bosse < bosse-dump
> ' into a number04: Could not convert ' 2
> Strange output and it stopped. Same basic error...
> Then I went back to the Ubuntu machine and loaded the dump file into
> svn there and it worked just fine.
> So I made a dump from the newly loaded repository on Ubuntu and went
> back to Windows 2016 and repeated the load command with the new dump
> file.
> This time it worked without errors!
> So my question is:
> Is the dump file format from cvs2svn platform dependent such that it
> will not work if moved from Linux to load it on Windows?

It should be. If it's not, then it's not a Subversion dump file and
there's a bug in cvs2svn.

-- Brane
Received on 2017-12-13 16:27:57 CET

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