Accurev:如何忽略目录的内容而不是目录

发布于 2024-08-28 13:37:06 字数 153 浏览 5 评论 0原文

我有一个“project”目录,其中有一个 .aignore 文件,其中包含:

out/*

“project”目录包含签入的“out”目录。但我想忽略“out”目录树中的任何内容。

上面的好像不行。什么是正确的语法?

谢谢。

I have a "project" directory which has an .acignore file containing:

out/*

The "project" directory contains the checked-in "out" directory. But i want to ignore anything in the "out" directory tree.

The above doesn't seem to work. What's the right syntax?

Thanks.

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

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

发布评论

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

评论(2

热鲨 2024-09-04 13:37:06

该语法实际上是正确的。我的猜测是“out”目录的内容的状态为(成员)。 ACCURV_IGNORE_ELEMS 和 .aignore 不会忽略已在 AccuRev 控制下的文件。请注意,在此示例中,“Out”目录中的文件还不是成员,因此不会显示在(外部)搜索请求中:

C:\demo\ws\Twins_SP1_mauer\WebApp>dir
04/10/2010 04:49 PM 7 .acignore
04/10/2010 04:44 PM 输出

C:\demo\ws\Twins_SP1_mauer\WebApp>cat .acignore
Out/*

C:\demo\ws\Twins_SP1_mauer\WebApp>dir Out
04/10/2010 04:43 PM 0 file1.txt
04/10/2010 04:44 PM 0 file2.txt

C:\demo\ws\Twins_SP1_mauer\WebApp>accurev stat -x
.\WebApp.aignore(外部)

That syntax is actually correct. My guess is that the contents of the "out" directory have status of (member). ACCUREV_IGNORE_ELEMS and .acignore won't ignore files that are already under AccuRev control. Note that in this example, the files in my "Out" directory are not already member, so don't show up in the (external) search request:

C:\demo\ws\Twins_SP1_mauer\WebApp>dir
04/10/2010 04:49 PM 7 .acignore
04/10/2010 04:44 PM Out

C:\demo\ws\Twins_SP1_mauer\WebApp>cat .acignore
Out/*

C:\demo\ws\Twins_SP1_mauer\WebApp>dir Out
04/10/2010 04:43 PM 0 file1.txt
04/10/2010 04:44 PM 0 file2.txt

C:\demo\ws\Twins_SP1_mauer\WebApp>accurev stat -x

.\WebApp.acignore (external)

海之角 2024-09-04 13:37:06

Accurev 的过滤仅用于过滤(外部)列表中出现的内容,因此如果已经添加了内容,则不会将其过滤掉。

.acignore 文件无法指定递归模式 - “out”目录是否与 .acignore 位于同一级别?您需要将它们放在树的每个目录中。

我将 .aignore 文件添加到整个树中,以避免人们必须在其计算机上指定 ACCUREV_IGNORE_ELEMS。典型的 .aignore 是:

*.ncb
*.suo
*.user
Debug/*
Debug
bin/*
bin
obj/*
obj
Release/*
Release
TestResults
TestResults./*

Accurev's filtering is used only to filter what appears in the (external) list so if things have already been added, they will not be filtered out.

The .acignore files are not able to specify a recursive pattern - is the "out" directory at the same level as the .acignore? You need to put them in each directory of the tree.

I added .acignore files to our entire tree to save people having to specify ACCUREV_IGNORE_ELEMS on their machines. A typical .acignore is:

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