svn:'REPO URL 的选项:授权失败: [英] svn: OPTIONS of 'REPO URL: authorization failed:
问题描述
我正在使用两个命令 1)svn ls 带有用户名和密码 2)svn mkdir 带有用户名和密码.svn ls 工作没有任何问题,但 svn mkdir 失败并显示以下错误消息:svn:'REPO URL 的选项:授权失败:无法向服务器进行身份验证:拒绝基本质询"
I am using two commands 1)svn ls with username and password 2)svn mkdir with username and password. svn ls works without any problem but svn mkdir fails with the following error message: "svn: OPTIONS of 'REPO URL: authorization failed: Could not authenticate to server: rejected Basic challenge"
有人可以帮我解决这个问题吗?我已经用谷歌搜索了很多次.人们报告了类似的问题,但并不完全相同.
Can someone please help me with this? I have googled this many times. People have reported similar problems but not exactly the same.
推荐答案
你的 repo url 是 https 吗?
is your repo url https?
在这种情况下,请在命令前添加以下开关.
in that case please add following switch before the command.
svn --non-interactive --trust-server-cert --username urname --password ******** <command>
这篇关于svn:'REPO URL 的选项:授权失败:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!