putconfig

update the contents of an AccuWork configuration file

Usage

accurev putconfig [ -p <depot-name> ] [ -u <user-name> ]
-r <config-file> -l <new-config-data>

Description

The putconfig command replaces the contents of an AccuWork configuration file with the file you specify on the command line.

Caution: Before using this command, be sure you have a good backup of subdirectory dispatch/config of the depot’s storage directory.

See the getconfig reference page for a listing of the configuration file names and their contents.

Options

-p <depot-name>

The depot to use (default: the depot of the current workspace).

-u <user-name>

The AccuRev user whose configuration file is to be updated. Use this option when updating a user’s personal AccuWork queries (-r query.xml).

-r <config-file>

The name of the XML-format configuration file whose contents are to be updated.

-l <new-config-data>

The name of the XML-format file containing the configuration data to be stored in <config-file>. The best way to create this file is to edit the output of a getconfig command.

Examples

Use the contents of file c:\temp\q.new to establish a new set of AccuWork queries for user derek, in the current depot’s issues:

  accurev putconfig -u derek -r query.xml -l c:\temp\q.new

See Also

getconfig