GIT-Svn命令在克隆SNVRePo的中间崩溃。如何解决这个问题?
我有一份svn回购协议,结构如下GIT-Svn命令在克隆SNVRePo的中间崩溃。如何解决这个问题?,git,svn,git-svn,Git,Svn,Git Svn,我有一份svn回购协议,结构如下 ProjectX -> trunk -> tags -> 1.0.x -> 1.1.x -> branches -> 1.1.1 我尝试使用Git Svn将此回购协议转换为Git回购,但GIT-Svn在中间崩溃,存在以下错误: Use of uninitialized value $resolved in scalar chomp at /Applications/Xcode.app/Co
ProjectX
-> trunk
-> tags
-> 1.0.x
-> 1.1.x
-> branches
-> 1.1.1
我尝试使用Git Svn将此回购协议转换为Git回购,但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分支上完成的标记时崩溃了。如何解决此问题?几点建议:
svnadmin verify
检查存储在存储库中的数据。svn
存储库可能有错误。如果您可以使用svn
(通常的操作:签出、更新、提交)来处理它,那么存储库损坏的可能性很小,但检查并没有什么坏处,只是为了确保这一点。如果svnadmin verify
报告错误或不一致,则。。。我不知道你是否能/如何修理它SubGit
不适合您的需要,请安装最新版本的Git
。苹果提供的版本总是比最新版本晚几个月。下载并编译最新版本,或者安装并使用它安装较新版本的Git
是否使用最新的git版本?如果没有,我会更新并重试,也许问题消失了。