我有一个带有以下结构的svn回购
ProjectX
-> trunk
-> tags
-> 1.0.x
-> 1.1.x
-> branches
-> 1.1.1
我正在尝试使用git svn将此repo转换为git repo,但git svn在中间崩溃并出现以下错误:
Use of uninitialized value $resolved in scalar chomp at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn line 1764.
Use of uninitialized value $resolved in scalar chomp at /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-svn line 1764.
error: there are still refs under 'refs/remotes/svn/tags'
fatal: Cannot lock the ref 'refs/remotes/svn/tags'.
update-ref -m r133452 refs/remotes/svn/tags 819b5012690ffe22208d5727ad26673e2670560e: command returned error: 128
command failed:
git svn fetch
我不确定发生了什么,但它崩溃了,它开始获取在1.1.x分支上完成的标记。如何解决这个问题?
答案 0 :(得分:2)