The clear command removes an existing include/exclude rule from the specified stream. If you don’t specify a stream, the command applies to the workspace containing the current working directory. You must specify the existing rule with a
depot-relative pathname, just as it appears in an
lsrules listing.
When you remove a rule from a stream, the effect is immediate on the stream itself and on streams below it. The effect does not take place on workspaces below the stream until they are
Update’d.
When you remove a rule from a workspace, the effect is immediate on the workspace itself: files are copied into the workspace tree if you remove an exclude rule; files are deleted from the workspace tree if you remove an include rule.
Remove the rule for subdirectory perl from the current workspace: