How to debug git svn fetch invalid XML

前端 未结 1 768
清歌不尽
清歌不尽 2021-01-14 06:03

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
         


        
相关标签:
1条回答
  • 2021-01-14 06:39

    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:

    1. Use a tool to capture http traffic
    2. If you have direct access to the repository (not via https), try using it
    3. Use svnrdump to download whole dump of the repository into your local drive and try to play with it.
    4. Try to use subgit instead.
    0 讨论(0)
提交回复
热议问题