I try to convert a SVN repository to git using git2svn. My server uses username and password.
I did
svn2git https://example.com/svn/bar
And get the error
Initialized empty Git repository in /tmp/bar/.git/
Error from SVN, (130003): XML data was not well-formed: The REPORT response contains invalid XML (200 OK)
command failed:
git svn fetch
When doing git svn fetch in the new folder, I get the same error.
How can I debug this? git svn fetch does not seem to have a --verbose option.
svn co https://example.com/svn/bar
works...
edit
Based on the answer by kan I tried several things:
Subgit shows
error: Import has been interrupted; --svn-url option is not valid at the moment.
After calling it with subgit import --svn-url http://example.com/svn/bar bar.git
it works.
I also did a network analysis using wireshark and saw comments with German umlauts. Does maybe svn2git have encoding problems here?
auskommentierten Legacy-Code endg\374ltig entfernt
and seems not even to do any connection.
svn co may works well only because it checks out last revision, while git svn downloads the whole repository. So, probably the remote repository is corrupted at some revision.
A few things to try:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With