我试图通过git-svn
来完成我所有的分支和合并,但是我挂在了颠覆分支。git svn分支结果身份验证失败
我们的管理员告诉我,我对repo拥有完整的读/写权限,并且可以获取最新的代码。
对于测试,我删除了我的~/.subversion/svn.simple
目录并运行此操作。
04:13 pm [214423L] C:\Dev\MyFooApp.Bar [master]
$ git svn fetch
Authentication realm: <https://code:443> VisualSVN Server
Password for 'cflorell': {my password}
04:14 pm [214423L] C:\Dev\MyFooApp.Bar [master]
$ git svn fetch
04:14 pm [214423L] C:\Dev\MyFooApp.Bar [master]
$
另外,如果我使用克隆龟回购,然后创建一个使用它似乎工作svn
一个分支。
04:43 pm [214423L] C:\Dev\MyFooApp.Bar
$ svn copy https://code/svn/MyFooApp.Bar/trunk https://code/svn/MyFooApp.Bar/branches/test-branch -m "test branch"
Committing transaction...
Committed revision 93.
但尝试使用git-svn
创建分支时,它仍然表示我的身份验证无效。
04:14 pm [214423L] C:\Dev\MyFooApp.Bar [master]
$ git svn branch develop
Copying https://code/svn/MyFooApp.Bar/trunk at r92 to https://code/svn/MyFooApp.Bar/branches/develop...
Authentication failed: Unable to connect to a repository at URL 'https://code/svn/MyFooApp.Bar/trunk': No more credentials or we tried too many times.
Authentication failed at C:\Program Files\Git\mingw64/libexec/git-core\git-svn line 1196.
04:14 pm [214423L] C:\Dev\MyFooApp.Bar [master]
$
我config
文件我相信正确的。
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[svn-remote "svn"]
url = https://code/svn/MyFooApp.Bar
fetch = trunk:refs/remotes/svn/trunk
branches = branches/*:refs/remotes/svn/*
tags = tags/*:refs/remotes/svn/tags/*
我在哪里可能会出错?
你有没有解决过这个问题?我遇到了类似的情况,不得不求助于使用svn客户端来创建标签分支,因为我无法想出一个通过这种方式。 – Caleb
我从来没有做过,我说服我们公司转向GIT。 –
为了你的缘故,我很高兴为这个结果!不幸的是,WordPress插件存储库似乎需要Subversion部署插件,刚刚通过'r1360603',显示没有减速的迹象,我不认为它会迁移到DVCS。 – Caleb