虽然做git svn clone -s https://svn.example.com/repo/
我收到了以下的输出:混帐svn的克隆失败“致命的:不是有效的对象名称”
r3073 = a6132f3a937b632015e66d694250da9f606b8333 (refs/remotes/trunk)
Found possible branch point: https://svn.example.com/repo/trunk => https://svn.example.com/repo/branches/v1.3, 3073
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
W: Refspec glob conflict (ref: refs/remotes/trunk):
expected path: repo/branches/trunk
real path: repo/trunk
Continuing ahead with repo/trunk
fatal: Not a valid object name refs/remotes/tags/Sync Controllers
cat-file commit refs/remotes/tags/Sync Controllers: command returned error: 128
运行git branch -a
给出:
remotes/tags/Sync%20Controllers
remotes/tags/v1.1
remotes/trunk
remotes/v1.2
我认为问题是, “遥控器/标签/同步控制器”!=“遥控器/标签/同步%20控制器”。
另请参阅: https://bugs.launchpad.net/ubuntu/+source/git/+bug/786942 – kenorb 2012-07-19 11:03:49
相关:http://stackoverflow.com/questions/7584605/git-svn-dcommit-因存储库名称包含空间而失败在那里有可用的补丁。 – kenorb 2012-10-26 08:25:30