Eclipse Subversive 新文件自动添加到版本控制中

发布于 2024-12-26 22:46:21 字数 495 浏览 5 评论 0原文

我使用 Eclipse Helios 和 Subversive:

Subversive SVN Connectors 2.2.2.I20110124-1700
org.polarion.eclipse.team.svn.connector.feature.group

Subversive SVN Team Provider (Incubation) 0.7.9.I20110207-1700
org.eclipse.team.svn.feature.group

Eclipse 和 Subversive 自动将新文件添加到版本控制中。

但似乎这种自动行为是参数化的:*.log 文件不会添加到版本控制中。

自动行为配置在哪里?

团队>SVN>属性配置>自动属性?但该面板是空的,没有列出 *.log 文件的规则。

I use Eclipse Helios and Subversive:

Subversive SVN Connectors 2.2.2.I20110124-1700
org.polarion.eclipse.team.svn.connector.feature.group

Subversive SVN Team Provider (Incubation) 0.7.9.I20110207-1700
org.eclipse.team.svn.feature.group

Eclipse and Subversive automatically add new files to version control.

But it seems that this automatic behavior is parametrized: *.log files are not added to version control.

Where is the configuration for this automatic behavior?

Team>SVN>Properties Configuration>Automatic properties ? But the panel is empty, the rule for the *.log files is not listed.

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

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

发布评论

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

评论(1

狼性发作 2025-01-02 22:46:21

Eclipse

它位于 Team-->Ignored Resources 下。

在此处输入图像描述

svn:ignore 属性

您可以设置 svn:ignore 属性从 subversion 中排除某些文件/文件模式:

subversion 全局设置

Subversion 已全局定义不包括:
全局忽略

运行 svn status 命令时,Subversion 列出未版本化的
文件和目录以及版本化的文件和目录,并对它们进行注释
与一个?字符(请参阅“svn status”部分)。有时,
看到无趣、未版本化的项目可能会很烦人——例如
例如,程序编译产生的目标文件——在此
展示。 global-ignores 选项是一个以空格分隔的列表
glob 描述了文件和目录的名称
Subversion 除非已进行版本控制,否则不应显示。默认
值为 *.o *.lo *.la #*# .*.rej< /code> *.rej .*~ *~ .#* .DS_Store.

除了 svn status 之外,svn add 和 svn import 命令也会忽略与列表匹配的文件。您可以覆盖此选项
使用 --no-ignore 执行任何这些命令的单个实例
命令行标志。有关更细粒度控制的信息
忽略的项目,请参阅“svn:ignore”部分。

Eclipse

It is under Team-->Ignored Resources.

enter image description here

svn:ignore property

You can set the svn:ignore property to exclude certain files/file patterns from subversion:

subversion global settings

Subversion has globally defined excludes:
global-ignores

When running the svn status command, Subversion lists unversioned
files and directories along with the versioned ones, annotating them
with a ? character (see the section called “svn status”). Sometimes,
it can be annoying to see uninteresting, unversioned items—for
example, object files that result from a program's compilation—in this
display. The global-ignores option is a list of whitespace-delimited
globs which describe the names of files and directories that
Subversion should not display unless they are versioned. The default
value is *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store.

As well as svn status, the svn add and svn import commands also ignore files that match the list. You can override this option for a
single instance of any of these commands by using the --no-ignore
command-line flag. For information on more fine-grained control of
ignored items, see the section called “svn:ignore”.

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