clearcaseconfig-spec

ClearCase Snapshot Views: exclude one particular directory from load statements?


Good morning,

is there any way to exclude only one particular directory from a snapshot's load statement, e.g. I want to load a whole vob named 'PM_CT' except the \PM_CT\lost+found directory

... is there an elegant way to do it? And how would I generally exclude all lost+found directories across multiple loaded vobs?

Cheers and Thanks,

-Jörg


Solution

  • element /PM_CT/lost+found -none
    

    The "elegant" way consists of:

    Note: in a config spec, always use "/": it is easier, and Windows as well as Unix ClearCase views will be able to interpret it.

    Caveats:

    Note: that selection rule can also be used for dynamic views, in order to mask some directory you would not want to see.