Some accurev commands use AccuRev user preferences to control or modify their operation. User preferences can be supplied in either of these ways:
•
|
As a setting in your AccuRev user preferences file: preferences.xml in the .accurev subdirectory of your AccuRev home directory. You can use the AccuRev commands setpref and getpref to maintain the contents of this file.
|
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.
The accurev CLI tool checks whether this variable is defined and contains the pathname of a text file on the client machine. If the pathname is valid, a timestamped copy of the complete command line is appended to the log file when the command begins execution; another timestamped entry is written to the log file when the command completes. (The results of the command are not written to the log file.)
(used by AccuRev Server only) If this variable is set to 1, the AccuRev Server sends console messages to
STDOUT in addition to the
acserver.log file. (Alternative: start the AccuRev Server with the command-line argument
console.)
diff command: the command-line options to be passed to the file-comparison program. See also
AC_DIFF_CLI.
Set by the start command to the pathname at which the specified workspace or reference tree is located.
If this variable is set to 1, the AccuRev commands
co,
pop,
purge,
revert, and
update preserve timestamps when copying versions from the repository into a workspace.
Set by the start command to the name of the specified workspace or reference tree.
diff command: the file-comparison program to run when this command is invoked. Default: the
acdiff program in the AccuRev
bin directory.
The text editor invoked by the AccuRev GUI File Browser tool when the user invokes the
Edit command on a text-file element. This preference has higher precedence than
EDITOR. If no preference is set, a system-dependent editor is invoked.
Set to true to log XML commands sent via
accurev xml. Each logged command is saved in a file in a temporary directory under the user’s home directory.
merge command: the text-file merge program to run when this command is invoked. Default: the
acdiff3 program in the AccuRev
bin directory.
Specifies that the File > Update Preview menu option in the Java GUI displays the old (pre-4.9) textual information, rather than the
Update Preview filter display.
Applies only if the user issues an accurev command that includes the
–t option along with a time specification (not a transaction number)
and there is a
timewarp (discrepancy) of more than 5 seconds between the client and server machines.
If not set or set to ERROR, a runtime error occurs and AccuRev displays a message that includes the timewarp details.
If set to WARN, no error occurs, but a warning that includes the timewarp details is displayed.
If set to IGNORE, no error occurs and no warning is displayed.
When set to TRUE (case-insensitive), causes the
update command to use the pathname optimization facility (see
ACCUREV_IGNORE_ELEMS) when searching the workspace for modified files.