On Wed, Dec 13, 2017 at 11:31 AM, Bo Berglund <bo.berglund_at_gmail.com> wrote:
> On Wed, 13 Dec 2017 17:22:48 +0100, Stefan Sperling <stsp_at_elego.de>
>>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.
FTP can manipulate line endings, depending on its settings. I urge you
to stop trying to change two things in one step, namely the version of
Subversion and the OS or binaries for Subversion at the same time. If
you have to do loads and conversions on the Windows server, use the
CygWin version of subversion, which is much more consistent and robust
in its Subversion server behavior. (That is "in my experience".)
>>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
> 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 23:23:21 CET