SVN回購克隆到Git回購工作正常。
但是我有上面列出的所有應遙控器的標籤轉換爲本地的
SVN to Git使用svn-migration-scripts
java -Dfile.encoding=utf-8 -jar c:\svn-migration-scripts.jar clean-git --force
命令的問題。
但我收到:
# Creating annotated tags...
tag has diverged: 1.0_RC1
Creating annotated tag '1.0_RC1' at refs/remotes/tags/1.0_RC1.
# Creating local branches...
# Checking for obsolete tags...
svn: E215004: Authentication failed and interactive prompting is disabled; see t
he --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'http://127.0.0.1/svn/dri
veLearner/tags'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
Deleting Git tag '1.0_RC1' not in Subversion.
Deleted tag '1.0_RC1' (was d200bf6)
# Checking for obsolete branches...
svn: E215004: Authentication failed and interactive prompting is disabled; see t
he --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'http://127.0.0.1/svn/dri
veLearner/branches'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
No obsolete branches to remove.
# Cleaning tag names
# Cleaning branch names
我用winXP的地方,JAVA 1.7_65,VisualSVN服務器(HTTP,端口80)。每個人都可以在讀/寫模式下使用回購。
有趣的是,我做了這個過程,但在其他回購成功後,同樣的問題,但我不知道我做了什麼。
有人解決一些問題嗎?
小評了這一點。過了一段時間(我花了一點時間熟悉Git和側邊工具),我注意到這種導入標籤的方式確實創建了本地標籤,但也創建了一個分支。 Hovewer進一步提交是在master中進行的。 – rainbow 2014-11-28 06:44:00
當我想附加標籤或分支與bash腳本,我有這個錯誤:「致命:無法解決'遙控器/標籤/ svn /標籤/ ...'作爲一個有效的參考」 – MychaL 2017-02-27 08:40:07