Command Summary

The accurev program implements the following commands:

Summary of CLI Commands

Command

Description

add

add a new element to a depot

addmember

change group membership

anc

determine the ancestor of a version

anchor

add an element to the default group of a workspace

annotate

indicate the origin of each line of a text file

archive

prepare to transfer version container files to offline storage

authmethod

set or display the user-authentication method

backup

back up the AccuRev metadata

cat

get the contents of a version of an element

chdepot

change the properties of a depot

chgroup

rename a group

chmod

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

chpasswd

change the password of a user

chref

change the name and/or definition of a reference tree

chslice

change the location of a slice

chstream

change a stream

chuser

rename or relicense a user

chws

change the name and/or definition of a workspace

clear

remove an include/exclude rule

co

(check out) add an element to the default group of a workspace

cpkadd

add an entry to a change package

cpkdepend

list the dependencies of a change package

cpkdescribe

list the contents of a change package

cpkremove

remove an entry from a change package

defunct

remove an element from a stream

demote

move a version from the parent stream to a child stream

diag

display performance diagnostics

diff

compare two versions of an element

disable_ssl

turn off SSL client-server security

eacl

configure element access control list security

enable_ssl

accept or reject an SSL certificate from the AccuRev server

excl

set a rule to exclude elements from a workspace or stream

files

show the status of elements

get_certificate

get a new SSL certificate from the AccuRev server

getconfig

list the contents of an AccuWork configuration file

getpref

list user preferences

getproperty

read a stream, user, or group property

help

display help on the AccuRev CLI

hist

show the transaction history of elements or an entire depot

hostinfo

display information about the AccuRev license server

incl

set rule to include elements in a workspace or stream

incldo

set rule to include a directory, not its contents, in a in a workspace stream

info

show basic information about the current session

ismember

check if named user is a group member

issuediff

compare two streams in terms of their change packages

issuelist

list the change packages in a stream

keep

create a new version of an element

licenses

display or set AccuRev licensing information

ln

create or change an element link or symbolic link

lock

lock a dynamic stream against promotions/demotions

login

log in to an AccuRev Server

logout

log out from an AccuRev Server

lsacl

show access control list entries

lsrules

show the include/exclude rules for a workspace or stream

merge

merge changes from another stream into the current version of an element

mergelist

determine which versions need to be promoted between streams

mkdepot

create a new depot

mkgroup

create a new group of users

mkref

create a new reference tree

mkreplica

add a depot to a replica repository

mkrules

set or clear multiple include/exclude rules for a workspace or stream

mksnap

create a new snapshot

mkstream

create a new stream

mktrig

activate a trigger in a depot

mkuser

register a new username

mkws

create a new user workspace

move, mv

move or rename elements

name

list the name of the element with the specified element-ID

patch

incorporate a set of changes from a given workspace into the current version

patchlist

list versions that need to be patched into the workspace’s version

pop

copy files into a workspace or reference tree

promote

propagate a version from one stream to another stream

purge

undo all of a workspace’s changes to an element

putconfig

update the contents of an AccuWorkconfiguration file

reactivate

restore a reference tree, stream, user, or workspace to active service

rebase

purge elements with changes that are already in the backing stream

reclaim

remove archived version container files from gateway area

remove

deactivate a workspace, reference tree, stream, user, or group

rename

alias for move command

replica

perform operations on a replica repository

revert

“undo” a promote or purge transaction

rmmember

remove a user from a group

rmproperty

remove a stream, user, or group property

rmreplica

remove a depot from a replica repository

rmtrig

deactivate a trigger in a depot

rmws

deactivate a workspace

secinfo

show user’s authorization level

setacl

set or remove an access control list entry

setpref

set one or more user preferences

setproperty

specify a name/value pair property for streams, users, and groups

show

list objects of a particular kind, including properties for streams, users, and groups

sitehist

show the transaction history of non-depot specific site information

start

create a command shell in a workspace or reference tree

stat

show the AccuRev status of elements or file system objects

synctime

synchronize system clock on client computer to server computer

touch

update the timestamp of a file

trace-event

filter MQTT messages from the server for specific events

translist

list transactions containing versions that need to be promoted

type

alias for cat command

unarchive

restore version container files that were previously archived

undefunct

restore a previously removed element to a stream

unlock

unlock a dynamic stream to enable promotions/demotions

update

incorporate other people's changes into your workspace

upgrade_client

download the AccuRev client installation package

verinfo

display the version info of unarchived elements in a depot, sorted by size.

wip

report work-in-progress for workspaces backed by a stream

xml

submit a request to the AccuRev Server in the form of an XML message

ENV_VARS

This is not an AccuRev command, but an argument to the help command to display a list of AccuRev environment variables and preference settings.