Subclipse 无法提交:“不允许操作”

发布于 2024-11-29 18:30:50 字数 729 浏览 3 评论 0原文

我安装了 SVN 并将其作为守护进程运行(Ubuntu 11.04)。我已经从命令行成功提交了存储库,但每当我尝试通过 subclipse 提交时,都会收到以下错误:

org.tigris.subversion.javahl.ClientException: Operation not permitted
svn: Can't remove '/home/dave/share/workspace/project/.svn/tmp/entries'
svn: Can't remove file '/home/dave/share/workspace/project/.svn/tmp/entries': Operation not permitted

org.tigris.subversion.javahl.ClientException: Operation not permitted
svn: Can't remove '/home/dave/share/workspace/project/.svn/tmp/entries'
svn: Can't remove file '/home/dave/share/workspace/project/.svn/tmp/entries': Operation not permitted

我尝试递归地取消设置粘性位,因为我看到这是不久前对线程的修复。我还在 Eclipse 中切换了 java >团队> SVN 从 JavaHL 到 SVNKit 但这也不起作用。有人以前经历过这种情况并且可以提供帮助吗?

I installed SVN and have it running as a daemon (Ubuntu 11.04). I've successfully commited the repo from command line but anytime I try to commit through subclipse I get the following error:

org.tigris.subversion.javahl.ClientException: Operation not permitted
svn: Can't remove '/home/dave/share/workspace/project/.svn/tmp/entries'
svn: Can't remove file '/home/dave/share/workspace/project/.svn/tmp/entries': Operation not permitted

org.tigris.subversion.javahl.ClientException: Operation not permitted
svn: Can't remove '/home/dave/share/workspace/project/.svn/tmp/entries'
svn: Can't remove file '/home/dave/share/workspace/project/.svn/tmp/entries': Operation not permitted

I tried recursively unsetting the sticky bit as I saw that was a fix on a thread a while back. I also switched my java within Eclipse > Team > SVN from JavaHL to SVNKit but that didn't work either. Anyone experience this before and can help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

想你只要分分秒秒 2024-12-06 18:30:50

请检查以下情况

1) 是否命令行工具使用的版本比 SubClipse 使用的版本更新?

2) 在提交之前检查您是否已更新最新的主干状态

3) 您在 subclipse 中使用的用户/密码是否与命令工具中相同

Please chekc the following scenarios

1) Could it be the case that the command line tool uses a newer version, than the SubClipse does?

2) Check whether you have update the latest trunk state, before you commit

3) Are you using the same user/password in subclipse than in the command tool

方觉久 2024-12-06 18:30:50

仔细检查该文件是否未被使用。我用Process Explorer 来查找是否有任何程序可以处理我的文件,但如果您不介意的话,只需注销并再次登录(或重新启动)也可以作为一种暴力方法麻烦。

Double check that the file is not in use. I use Process Explorer to find if any programs have a handle on my files, but just logging out and in again (or restarting) also works as a brute-force approach if you don't mind the hassle.

情话已封尘 2024-12-06 18:30:50

这是 VirtualBox 共享文件夹的一个已知错误。除了将其移出共享文件夹之外,另一种解决方法是使用 git-svn (使用 sudo apt-get install git-svn 安装,它不附带标准版本) git) 将其自动克隆到 git 存储库中。

安装 git-svn 后,您可以使用命令 git svn clone http://my-svn-repo local-folder 克隆 SVN 存储库,而不会出现此错误。

It's a known bug with VirtualBox shared folders. Apart from moving it outside the shared folder, another workaround it to use git-svn (install with sudo apt-get install git-svn, it doesn't come with standard git) to clone it automatically into a git repo.

Once git-svn is installed, you can use the command git svn clone http://my-svn-repo local-folder to clone a SVN repo without this error.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文