【发布时间】:2014-11-13 22:23:09
【问题描述】:
将 SVN 存储库克隆到 Git 存储库可以正常工作。
但是我有
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)。每个人都可以在读/写模式下使用 Repo。
有趣的是我已经完成了这个过程,但是在同样的问题之后成功地在其他 repo 上,但我不知道我做了什么。
有人有解决办法吗?
【问题讨论】:
-
没有测试很难说。也许导入机制发生了一些变化,现在分支是本地的。我不知道。