Ankhsvn“授权失败”
我正在尝试在 VS08 和 VS2010.B2 上设置 Ankhsvn 2.1.7444.278 和 Subversion 1.5.0。
当向 Ankhsvn 提供存储库 url 时,它会识别该 url 并允许我选择我的存储库。存储库是空的(因为我还没有向其中添加任何内容)。当我单击“确定”并应用日志条目后,它返回错误“您无法对远程存储库进行授权。”。
我做错了什么?
问候,卡斯帕
I am trying to set up Ankhsvn 2.1.7444.278 with Subversion 1.5.0 on both VS08 and VS2010.B2.
When supplying Ankhsvn with repository url, it recognises the url and allow me to select my repository. The repository is empty (since I haven't put anything into it yet). When I click OK and after applying a log-entry, it return with the error "You failed to authorize against the remote repository.".
What am I doing wrong?
Regards, Casper
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,但原因不同。我没有使用 svnserve -d -r [存储库路径] 取消注释
svnserve.conf
中的password-db = passwd
行。另外,请务必在passwd
文件中设置密码。I experienced the same problem but with a different cause. I didn't uncommented the
password-db = passwd
line insvnserve.conf
using svnserve -d -r [path to repositories]. Also, be sure to set a password in thepasswd
file as well.好的,我解决了问题。
使用 TortoiseSVN,我尝试提交一个文件,但收到另一个错误,告诉我数据库已锁定。问题是我没有访问存储库的正确用户权限。我的意思是,我没有作为用户添加到服务器上的存储库文件夹中,而是使用 Windows 资源管理器添加自己,而不是通过 Subversion、Tortoise 客户端或 Ankhsvn 中的各种凭据添加自己 - 正如其他论坛中所建议的那样。
OK, I solved the problem.
Using TortoiseSVN, I tried to commit a file and I got another error telling me that the database was locked. The problem was that I didn't have the correct user rights to access the repository. By this I mean that I wasn't added as a user on the repository folder on the server and I added myself using Windows Explorer and not through various credentials in the Subversion, the Tortoise client or Ankhsvn - as suggested in other forums.