0
試圖通過以下命令Git-svn'refs/remotes/tags'exists;不能創建
git svn clone -s --ignore-paths="tags" svn://localhost/web .
遷移Subversion倉庫Git倉庫
我跑時,我有一個問題,我得到了錯誤信息如下,
branch_from: /branches/tags => /branches/tags/3.7
Found possible branch point: svn://localhost/web/branches/tags/3.7 => svn://localhost/web/tags/3.7, 15131
Initializing parent: refs/remotes/tags/[email protected]
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/branches/tags/3.7'
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
Found possible branch point: svn://localhost/web/branches/workspace_production_3.0 => svn://localhost/web/branches/tags/3.7, 10538
Found branch parent: (refs/remotes/tags/[email protected]) a7067c8515c17c7f0bf8c6390a785426a8de5b83
Following parent with do_switch
Successfully followed parent
error: 'refs/remotes/tags' exists; cannot create 'refs/remotes/tags/[email protected]'
fatal: Cannot lock the ref 'refs/remotes/tags/[email protected]'.
update-ref -m r10539 refs/remotes/tags/[email protected] 67f3c547c7dfac657fcfd7759746f44eb74b187f: command returned error: 128
實際上我不想忽略任何路徑,但似乎標籤出現問題,所以我把它放在忽略路徑上。
我錯過了什麼嗎?
[混帳的可能的複製push:refs/heads/my/subbranch存在,無法創建](http://stackoverflow.com/questions/22630404/git-push-refs-heads-my-subbranch-exists-cannot-create) – kenorb