我可以从此存储库中 checkout 代码并提交给它,但执行“svnmerge.py Avail”失败并显示消息
svnmerge: command execution failed (exit code: 1)
svn --non-interactive propget --strict "svnmerge-integrated""https://svn.example.org/example/groups.example.org/trunk/sites/all/themes/bluebeach/themes/bluebeach/trunk " svn:' https://svn.example.org/example/groups.example.org/trunk/sites/all/themes/bluebeach/themes/bluebeach/trunk 的选项':授权失败:无法对服务器进行身份验证:拒绝基本质询( https://svn.example.org )
我使用来自 collabnet 的 svn:
svn, version 1.6.3 (r38063)
有人建议这可能是因为我的密码存储在钥匙串(keychain)中。我尝试从钥匙串(keychain)中删除信息,但当然它会被添加回来。
我尝试从钥匙串(keychain)中删除信息,然后将我的 .subversion/config 更改为:
store-passwords = yes
store-plaintext-passwords = yes
但这仍然将它们粘在钥匙串(keychain)中。
最佳答案
您可以通过将用户名和密码指定为 svnmerge.py 的参数来解决钥匙串(keychain)问题:
svnmerge.py --username=<username> --password=<pwd> [avail|merge etc.]
这为我解决了这个问题。
关于svn - Mac 上的 svn 1.6 和 https 存储库 svnmerge.py 可用显示 "Could not authenticate to server: rejected Basic challenge",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1676262/