Associate a Role, Attribute or Label with a set of files
or revisions.
Overview
When a file, or set of files is associated with a Role,
for example, it is possible to then filter
subsequent operations based on the association. Useful for
associating a subset of files with a group of people, such
as all .html files with the role of "Web Designers", with
a role filter in place, a branch could be created that
contained only files of interest to the web designers.
Syntax
| |
ass[ociate] <controlspec>
<specification>
|
Parameters
| controlspec |
May be a Role, an Attribute, or a
Label |
| specification |
A definition of the files to be
included |
Specification syntax
| |
{<filter> *}
{[-r] [-i] <filespec>\n}
|
Specification parameters
| filter |
Allows the set of files to be further
modified, a filter applies to filespecs that follow,
type "help filter" for further information on filter
options, type "help ls" for further information on
file specs. |
| -r |
Indicates that the subsequent filespec
also applies to folders beneath the specified folder. |
| -i |
Indicates that the filespec search is
not case sensitive. |
Example
| |
associate //Admin/Roles/WebDesigners "-r -i //cx/CompanyWeb/Site/*.html"
|
All the files nested beneath //cx/CompanyWeb/Site/
that have a html extension are associated with the Role
of WebDesigner.
|