I have a "project" directory which has an .acignore file containing:
out/*
The "project" directory contains the checked-in "out" direct开发者_如何转开发ory. But i want to ignore anything in the "out" directory tree.
The above doesn't seem to work. What's the right syntax?
Thanks.
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)
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./*
精彩评论