14.01.2013 Views

AccuRev CLI User's Guide

AccuRev CLI User's Guide

AccuRev CLI User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Following is an alphabetical listing of the <strong>AccuRev</strong> user preferences.<br />

ACCUREV_COMMAND_LOGFILE<br />

The accurev <strong>CLI</strong> tool checks whether this variable is defined and contains the pathname of a<br />

text file on the client machine. (So does the accurevw tool, which forwards commands from<br />

the <strong>AccuRev</strong> GUI to the <strong>AccuRev</strong> Server.) If the pathname is valid, a timestamped copy of the<br />

complete command line is appended to the log file when the command begins execution;<br />

another timestamped entry is written to the log file when the command completes. (The<br />

results of the command are not written to the log file.)<br />

ACCUREV_CONSOLE<br />

(used by <strong>AccuRev</strong> Server only) If this variable is set to 1, the <strong>AccuRev</strong> Server sends console<br />

messages to STDOUT in addition to the acserver.log file. (Alternative: start the <strong>AccuRev</strong><br />

Server with the command-line argument console.)<br />

ACCUREV_DIFF_FLAGS<br />

diff command: the command-line options to be passed to the file-comparison program. See<br />

also AC_DIFF_<strong>CLI</strong>.<br />

ACCUREV_HOME<br />

(used by the “<strong>AccuRev</strong> login” user-authentication scheme) The full pathname of the parent<br />

directory of the .accurev subdirectory. Setting this variable overrides <strong>AccuRev</strong>’s automatic<br />

determination of this subdirectory’s location.<br />

ACCUREV_IGNORE_ELEMS<br />

A SPACE-separated list of up to 50 pathname patterns used in <strong>AccuRev</strong>’s pathname<br />

optimization facility. See Pathname Optimization: ACCUREV_IGNORE_ELEMS and<br />

.acignore on page 27 of <strong>AccuRev</strong> Technical Notes.<br />

ACCUREV_PRINCIPAL, AC_PRINCIPAL<br />

(used only by the “traditional” user-authentication scheme) The <strong>AccuRev</strong> principal-name to<br />

be used as the user identity for accurev commands. It is usually not necessary to set this<br />

variable, because accurev can use system-level EVs to establish your <strong>AccuRev</strong> user identity.<br />

The order of precedence (highest to lowest) for EVs that establish user identity is<br />

ACCUREV_PRINCIPAL, AC_PRINCIPAL, USER, LOGNAME, USERNAME.<br />

ACCUREV_TOPDIR<br />

Set by the start command to the pathname at which the specified workspace or reference tree<br />

is located.<br />

ACCUREV_USE_MOD_TIME<br />

If this variable is set to 1, the <strong>AccuRev</strong> commands co, pop, purge, revert, and update<br />

preserve timestamps when copying versions from the repository into a workspace.<br />

ACCUREV_WATCHDOG_FAST_FAIL_DISABLE<br />

If this variable is set to 1, the <strong>AccuRev</strong> Server Watchdog process never stops trying to restart<br />

the <strong>AccuRev</strong> Server process, no matter how many Server failures it detects. By default, the<br />

Watchdog stops trying after detecting 5 failures in a 3-minute timespan.<br />

<strong>AccuRev</strong> <strong>CLI</strong> User’s <strong>Guide</strong> 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!