A typical use of an ignore pattern is to have stat -x (or the External search in the File Browser) ignore temporary build directories. That is, you want the list of external objects that AccuRev returns to ignore both the directories themselves and all the files within those directories. If the build directories are named
build_001,
build_002, and so on, you might be tempted to use this pattern:
But this patterns matches only the contents of the
build_??? directories and not the directories themselves. (Note that in these examples, a directory matching the pattern that is a subdirectory of another matching directory will be excluded. For example, in a structure like
build_001/build_002, the
build_002 directory will be excluded, but the
build_001 directory will not.)
Instead, to exclude build directories such as build_001,
build_002 and their contents, specify the ignore pattern as follows:
(The pattern */build_???* would match both
build_001 and
build_002 directories and their contents, but it also might coincidentally match names of some source files, such as
lib/build_end.c.)