条目已存在 - SVN 提交错误
org.tigris.subversion.javahl.ClientException: Entry already exists
svn: 'url' is already under version control
这是我尝试提交项目时出现的错误。
我该如何解决这个问题?
org.tigris.subversion.javahl.ClientException: Entry already exists
svn: 'url' is already under version control
This is the error given when I tried to Commit my project.
How can I solve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
1、将字典
'url'
移动到另一个地方2、svn update
3、移回字典
4、再次提交
1, move the dictory
'url'
to another place2, svn update
3, move back the dictory
4, commit again
您很可能从另一个已处于颠覆控制之下的项目复制了文件夹“url”。通过检查本地磁盘文件夹(Eclipse:“workspace”)并查找名为“.svn”的隐藏文件夹来验证这一点。你需要摆脱它们。
You have, most probably, copied the folder 'url' from another project that is already under subversion control. Verify this by inspecting the local disk folder (Eclipse: "workspace") and look for hidden folders named ".svn". You need to get rid of them.
添加到 另一个答案
1,将字典'url'移动到另一个地方(svn 控制区域之外)
2,svn update
< strong>2.5 - svn commit!
3、回移字典
4、再次commit
Adding to another answer
1, move the dictory 'url' to another place (out of the svn controlled area)
2, svn update
2.5 - svn commit!
3, move back the dictory
4, commit again
我也有同样的问题。删除所有 .svn 子目录(甚至直接位于 NetbeansProjects 下)解决了该问题。
I had the same problem. Removing all .svn subdirectories (even that directly under NetbeansProjects) resolved the issue.
如果您在项目根文件夹中找到 .svn 文件夹,请手动将其删除。这将取消你的文件与 svn 的链接。现在重试共享项目,它应该是干净的。
If you find .svn folder in your project root folder, manually delete it. That will unlink your files from svn. Now retry share project, it should be clean.