Previous: Note, Up: SYNOPSIS



8.2.2 Commands

comment <id>
Write a comment cert for a revision.
approve <id>
Make a “branch” cert approving of a revision's membership in a branch.
disapprove <id>
Disapprove of a revision, committing the inverse changes as as a descendant of the disapproved revision.
tag <id> <tagname>
Put a symbolic tag cert on a revision.
testresult <id> (0|1|true|false|yes|no|pass|fail)
Indicate a passing or failing test result on a revision.
agraph
Dump revision graph to stdout in VCG format.
diff [--revision=<id1> [--revision=<id2>] ] [<pathname>...]
Show diffs between working copy and database.
status [<pathname>...]
Show status of working copy.
log [id]
Show historical log of revisions, starting from working copy base revision, or [id] if given.
cert <id> <certname> [certval]
Create a custom cert for a revision. Reads cert value from stdin if no value given on command line.
genkey <keyid>
Generate an rsa key-pair and store it in the database.
chkeypass <keyid>
Change passphrase of the private half of a key.
list certs <id>
ls certs <id>
List certs associated with revision.
list keys [partial-id]
ls keys [partial-id]
List keys matching glob, or list all keys if no glob given.
list branches
ls branches
List all branches.
list tags
ls tags
List all tags.
list unknown [<pathname>...]
ls unknown [<pathname>...]
List files in working directory, but not in revision's manifest or work list.
list ignored [<pathname>...]
ls ignored [<pathname>...]
List files intentionally ignored due to the ignore_file hook.
list missing [<pathname>...]
ls missing [<pathname>...]
List files in revision's manifest, but not in working directory.
fdata <id>
Write file data packet to stdout.
fdelta <oldid> <newid>
Write file delta packet to stdout.
mdata <id>
Write manifest data packet to stdout.
mdelta <oldid> <newid>
Write manifest delta packet to stdout.
rcerts <id>
Write revision cert packets to stdout.
rdata <id>
Write revision data packet to stdout.
privkey <id>
Write private key packet to stdout.
pubkey <id>
Write public key packet to stdout.
read
Read packets from stdin. It is very important to only read keys from trusted sources; all other trust relationships are built out of the trust assigned to keys.
cvs_import <cvsroot>
Import all versions in CVS repository. Reconstructs revisions and converts metadata to certificates. A private signing key must already exist in the database.
rcs_import <rcsfile> ...
Import all file versions in RCS files. Does not reconstruct revisions across the entire tree.
checkout [manifest-id] <directory>
co [manifest-id] <directory>
Check out tree state from database, into directory.
cat (file <id>|manifest [<id>]|revision [<id>])
Write file, manifest or revision from database to stdout.
heads
Show unmerged heads of branch, or report when branch is merged.
merge
Merge unmerged heads of branch.
add <pathname> [...]
Add files to working copy. adding a file does not copy it into the database, merely adds it to the work list. You must commit your changes in order to copy added files to the database.
drop <pathname> [...]
Drop files from working copy. Files are not deleted from working copy, merely noted as removals in the work list.
rename <src> <dst>
Rename files from <src> to <dst> in working copy.
commit [--message=log message] [<pathname>...]
Commit working copy to database. If a –message option is provided on the command line, it is used; otherwise a log message editor will be invoked.
update [revision]
Update working copy.
push <host> <collection>
Push contents of <collection> to database on <host>
pull <host> <collection>
Pull contents of <collection> from database on <host>
sync <host> <collection>
Sync contents of <collection> with database on <host>
serve <host> <collection>
Serve contents of <collection> at network address <host>
automate (interface_version|heads)
Scripting interface.
db (init|info|version|dump|load|migrate|execute <sql>)
Manipulate database state.