11:20:12 AM svn: authentication cancelled
11:21:11 AM 0 changes committed, 1 change failed to commit: Toggle Listener more
11:23:05 AM Not Logged In to Subversion: Click to fix. Not logged In to Subversion 'Subversion Repositories'
6) 我点击“Click to fix”
然后 IDEA 要求我输入帐户和密码,我看到它使用的默认用户名是我在 mac 上的用户名。输入真实姓名和密码后,一切正常。
It depends on the version of the IDE, this problem appeared after IDEA 9 and in a first glance seems to be a bug connected to password encryption. Here you have an issue reported.
They say you need to tweak .subversion/servers and set it to
NOTE : This will store the passwords as PLAIN TEXT!
But this one does not help for version 11. I fixed like this for my Community 11 version :
1) Went to Settings
2) Then Version Control-> Subversion
3) Pressed Clear Auth Cache
4) Went to Changes->Repository and pressed Refresh
IDEA asked me if I would like to accept the certificate
5) Answered Accept
Then It failed to refresh with "svn: authentication cancelled" error
But in Event Log I saw
11:20:12 AM svn: authentication cancelled
11:21:11 AM 0 changes committed, 1 change failed to commit: Toggle Listener more
11:23:05 AM Not Logged In to Subversion: Click to fix. Not logged In to Subversion 'Subversion Repositories'
6) I klicked on "Click to fix"
Then IDEA asked me to enter account and password and I saw that the default user name that it used was my users name on my mac. After I entered the real name and password everything worked fine.
Ant 可能会尝试以您不使用的方式访问存储库 - 例如稍微不同的主机名等。然后 svn 询问这个“新”存储库的凭据。
尝试获取 ant 执行的完整 svn 命令行并自行运行。我不是蚂蚁专家,无法帮助你。
Ant might try to access the Repository in a way you don't use - like a slightly different hostname or so. Then svn asks for the credentials of this 'new' repository.
Try to get the full svn command line that ant executes and run it yourself. I am no ant expert, can't help you there.
发布评论
评论(4)
这取决于IDE的版本,这个问题在IDEA 9之后出现,乍一看似乎是与密码加密有关的错误。
此处您报告了一个问题。
他们说你需要调整 .subversion/servers 并将其设置为
“注意”:这会将密码存储为纯文本!
但这个对 11 版本没有帮助。
我对我的 Community 11 版本进行了这样的修复:
1)转到“设置”
2)然后“版本控制”->“版本控制”。 Subversion
3)按下“清除身份验证缓存”
4)转到“更改”->“存储库”并按下“刷新
IDEA”询问我是否愿意接受证书
5)回答“接受”
然后刷新失败,并出现“svn:身份验证已取消”错误,
但在事件中日志我看到
6) 我点击“Click to fix”
然后 IDEA 要求我输入帐户和密码,我看到它使用的默认用户名是我在 mac 上的用户名。输入真实姓名和密码后,一切正常。
It depends on the version of the IDE, this problem appeared after IDEA 9 and in a first glance seems to be a bug connected to password encryption.
Here you have an issue reported.
They say you need to tweak .subversion/servers and set it to
NOTE : This will store the passwords as PLAIN TEXT!
But this one does not help for version 11.
I fixed like this for my Community 11 version :
1) Went to Settings
2) Then Version Control-> Subversion
3) Pressed Clear Auth Cache
4) Went to Changes->Repository and pressed Refresh
IDEA asked me if I would like to accept the certificate
5) Answered Accept
Then It failed to refresh with "svn: authentication cancelled" error
But in Event Log I saw
6) I klicked on "Click to fix"
Then IDEA asked me to enter account and password and I saw that the default user name that it used was my users name on my mac. After I entered the real name and password everything worked fine.
我遇到了同样的错误(对于无密码本地存储库)。
删除整个工作副本并重新签出有帮助。再次要求提供新的 WC 指南凭证。之后提交就变得简单了。
I had the same error (for password-less local repository).
Removing whole working copy and re-checkout helped. Credentials were asked once again for new WC guid. After that commits goes straightforward.
我删除了 .subversion 目录,使用 svn 客户端来签入修改后的文件。通过 IDE 更新存储库,一切开始工作。
I removed
.subversion
directory, used svn client for checking in modified files. Updated repository through IDE and everything started working.Ant 可能会尝试以您不使用的方式访问存储库 - 例如稍微不同的主机名等。然后 svn 询问这个“新”存储库的凭据。
尝试获取 ant 执行的完整 svn 命令行并自行运行。我不是蚂蚁专家,无法帮助你。
Ant might try to access the Repository in a way you don't use - like a slightly different hostname or so. Then svn asks for the credentials of this 'new' repository.
Try to get the full svn command line that ant executes and run it yourself. I am no ant expert, can't help you there.