27.01.2015 Views

CLI User's Guide - AccuRev

CLI User's Guide - AccuRev

CLI User's Guide - AccuRev

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AccuRev</strong> ® Command-Line Reference<br />

This chapter provides a detailed description of the accurev program, the main command-line tool<br />

in the <strong>AccuRev</strong> configuration management system. You can use this tool in a command shell<br />

(UNIX/Linux) or at a DOS prompt (Windows). You can also invoke this tool as part of a shell<br />

script or batch file, or from a scripting language such as Perl. Each invocation of the accurev<br />

program looks like this:<br />

accurev <br />

This chapter begins with some overview sections, including a command summary. Then, the<br />

accurev commands are described in detail, in alphabetical order.<br />

Command Summary<br />

The accurev program implements the following commands:<br />

Command<br />

add<br />

addmember<br />

anc<br />

anchor<br />

annotate<br />

archive<br />

authmethod<br />

backup<br />

cat<br />

chdepot<br />

chgroup<br />

chmod<br />

chpasswd<br />

chref<br />

chslice<br />

chstream<br />

chuser<br />

Description<br />

add a new element to a depot<br />

change group membership<br />

determine the ancestor of a version<br />

add an element to the default group of a workspace<br />

indicate the origin of each line of a text file<br />

prepare to transfer version container files to offline storage<br />

set or display the user-authentication method<br />

back up the <strong>AccuRev</strong> metadata<br />

get the contents of a version of an element<br />

change the properties of a depot<br />

rename a group<br />

change the access mode of an element (UNIX/Linux-specific)<br />

change the password of a user<br />

change the name and/or definition of a reference tree<br />

change the location of a slice<br />

change a stream<br />

rename or relicense a user<br />

<strong>AccuRev</strong>® <strong>CLI</strong> User’s <strong>Guide</strong> 35

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

Saved successfully!

Ooh no, something went wrong!