Include/Exclude Example 2: Simulating a Sparse Workspace
If you're accustomed to working in a "sparse" workspace (supported in older versions of AccuRev), you may want to do the include/exclude equivalent in a new workspace:
remove all elements from the workspace
add back to the workspace just the elements that you want to appear in it
The first step is accomplished by setting an Include Directory Only rule for the depot's top-level directory. Since the top-level directory never appears in the File Browser's details pane, you must invoke the command from the rules pane, not the details pane:
Make sure that Show Inherited Rules is checked in the rules pane, causing the depot's base rule to be displayed.
Right-click the base rule, and select Include Directory Only.
This creates a new rule , at the workspace level, for the top-level directory. This rule overrides the rule you just right-clicked, and replaces it in the rules pane:
If you subsequently remove this new rule, the overridden rule will reappear in the rules pane, and will reapply to your workspace.