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