雖然做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