AccuRev® Command-Line Reference : rmproperty

rmproperty
remove property from stream or principal
Usage
accurev rmproperty [ -s <stream> | -u <principal> ] <name>
Description
The rmproperty command removes a property from a stream or a principal (user or group).
If you have implemented a server_admin_trig server-side trigger at your site and you want to modify it to use stream and principal properties, see Modifications to server_admin_trig on page 221.
Options
-s <stream>
Specifies the name of the stream from which to remove the property.
-u <principal>
Specifies the name of the user or group from which to remove the property.
<name>
Specifies the name of the property to remove.
Examples
Remove the property named "Status" from stream "prod_2010":
> accurev rmproperty -s prod_2010 Status
Remove the property named "contractor" from user "jsmith":
> accurev rmproperty -u jsmith contractor AcmeTemps
Modifications to server_admin_trig
If you have implemented the server-side trigger server_admin_trig at your site, you need to modify it if you want it to work with the rmproperty command. See the "Trigger Parameters File" section in the "AccuRev Triggers" chapter of the AccuRev Administrator’s Guide for more information.
rmproperty for a stream
<?xml version="1.0" encoding="utf-8"?>
<triggerInput>
<depot>test1</depot>
<hook>server_admin_trig</hook>
<command>rmproperty</command>
<principal>testuser</principal>
<ip>10.10.10.177</ip>
<propertyKind>stream</propertyKind>
<streamName>stream1</streamName>
<propertyName>bingo</propertyName>
</triggerInput>
rmproperty for a user
<?xml version="1.0" encoding="utf-8"?>
<triggerInput>
<hook>server_admin_trig</hook>
<command>rmproperty</command>
<principal>testuser</principal>
<ip>10.10.10.177</ip>
<propertyKind>principal</propertyKind>
<principalName>user3</principalName>
<propertyName>bingo</propertyName>
</triggerInput>
See Also
setproperty, getproperty, show

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