accurev setpref -l <XML-file>The setpref command places (or replaces) one or more entries in your XML-format AccuRev user preferences file: preferences.xml in the .accurev subdirectory of your AccuRev home directory.(By default, the AccuRev home directory is determined automatically; but you can specify an AccuRev home directory with environment variable ACCUREV_HOME.)You can specify a single name/value pair on the command line. Alternatively, you can specify any number of name/value settings in an XML-format file. The simplest way to create such a file is to modify the output of a getpref command.Note: the name that you specify does not need to be an AccuRev-recognized keyword. For example, this works:If an environment variable has the same name as an entry in the user preferences file, AccuRev commands follow the environment variable and ignore the preference-file entry.> type mysettings.xml
<AcRequest>
<AC_DIFF_GUI>TkDiff</AC_DIFF_GUI>
<AC_MERGE_GUI>Guiffy</AC_MERGE_GUI>
</AcRequest>
> accurev setpref -l mysettings.xml
AccuRev, Inc. |
Phone: 781-861-8700 |
Fax: 781-861-8704 |
support@accurev.com |