Pathname Optimization:ACCUREV_IGNORE_ELEMS and .acignore : Commands that Don’t Apply to the Whole Workspace

Commands that Don’t Apply to the Whole Workspace
The stat and add commands above accept filename/pathname specifications, in several forms:
Individual pathname: doc/chap01.doc or /./widgets/doc/chap01.doc
Wildcard pattern: *.doc or docs/*.doc
list-file: –l my_list_of_files
Such specifications restrict the command to processing a certain set of files, not the whole workspace (even if you also specify –x, –m, –n, or –p). Similarly, the files command processes a certain set of files, not the whole workspace.
For these commands, the accurev tool still uses ACCUREV_IGNORE_ELEMS — but in a way that is less efficient than for whole-workspace commands:
1.
2.
Use ACCUREV_IGNORE_ELEMS to filter the data that the Server returns. Only names of external files are filtered out; files that are AccuRev elements remain in the listing, even if they match the value of ACCUREV_IGNORE_ELEMS.
This may produce similar, or even identical results as a whole-workspace command, but the fact that an unfiltered list is sent to, and processed by, the Server means that overall performance won’t be as good.

AccuRev, Inc.
Phone: 781-861-8700
Fax: 781-861-8704
support@accurev.com