Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accurev: how to ignore contents of a directory but not the directory

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.

like image 349
Jack Avatar asked Oct 15 '22 07:10

Jack


1 Answers

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)

like image 177
jtalbott Avatar answered Oct 18 '22 13:10

jtalbott