The accurev Program

The AccuRev command-line interface is implemented by a program named accurev. You can use this tool in a command shell (UNIX/Linux) or at a DOS prompt (Windows). You can also invoke this tool as part of a shell script or batch file, or from a scripting language such as Perl.

Each invocation of the accurev program looks like this:

accurev <command-name> <options-and-arguments> 

After executing the specified command, accurev returns control to the command shell. (There is no way to execute several AccuRev commands in a single invocation of accurev.)

Using AccuRev with a Secure AccuRev Server

AccuRev supports the Secure Sockets Layer (SSL) protocol to provide encrypted communication between the AccuRev client and the AccuRev server. Setup and configuration of SSL is managed by your AccuRev administrator. This section describes the situations in which you, as the end-user, are likely to experience SSL if it has been enabled on your AccuRev server.

The first time you start AccuRev, whether through the GUI or the command line, AccuRev will prompt you to enable SSL for that client. This process allows you to inspect the SSL certificate, and either accept or reject it. If you accept it, AccuRev downloads the certificate to the client machine, enabling you to connect to the AccuRev server. If you reject it, you cannot connect to the AccuRev server. This will prevent you from starting the AccuRev GUI or executing any AccuRev commands.

Once you accept the SSL certificate for your AccuRev client, you are prompted to take action in the future only if:

  • The SSL certificate expires or has been changed. If your original certificate expires, or if it is no longer recognized by the AccuRev client, AccuRev prompts you to get a new certificate the next time you start AccuRev or execute an AccuRev command. In this case, you again have the opportunity to inspect the new certificate. If you accept it, AccuRev replaces the current certificate with a new one and you can continue using AccuRev. If you reject it, you will not be able to connect to the AccuRev server.

  • SSL is disabled on the AccuRev server. If the administrator disables SSL on your AccuRev server after you have already accepted a certificate, the next time you start AccuRev or execute an AccuRev command you are informed of this situation and given the choice to disable SSL on your AccuRev client. If you choose to disable SSL, you will be able to continue using your AccuRev client, but the client-server communication will no longer be encrypted.

    Note: AccuRev recommends that before disabling SSL on your client you bring this situation to the attention of your AccuRev administrator.