Subclipse svn:ignore [英] Subclipse svn:ignore

查看:111
本文介绍了Subclipse svn:ignore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很熟悉Eclipse。我正在使用subclipse连接到我的SVN。有一些文件夹和文件我想添加到svn:ignore,但它变灰了。有没有办法让subclipse忽略文件和目录?



解决方案

您不能svn:忽略已经提交到存储库的文件。



所以你必须:


  1. 从存储库中删除该文件。 li>
  2. 将您的项目(工作副本)更新为头版。

  3. 在Eclipse中重新创建文件。

  4. 通过Team->添加到svn:ignore来设置svn:忽略文件。

  5. 重新启动eclipse以反映更改。

祝你好运!


I'm new to Eclipse. I'm using subclipse for connecting to my SVN. There are some folders and files I would like to add to svn:ignore, but it's grayed out. Is there an easy way to get subclipse to ignore files and directories?

解决方案

You can't svn:ignore a file that is already commited to repository.

So you must:

  1. Delete the file from the repository.
  2. Update your project (the working copy) to the head revision.
  3. Recreate the file in Eclipse.
  4. Set svn:ignore on the file via Team->Add to svn:ignore.
  5. Restart eclipse to reflect changes.

Good luck!

这篇关于Subclipse svn:ignore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆