ClientReference

Codeville commands

Options

-p, --path

<path> to client

-R, --repository

<repository> for this operation

-u, --user

<user> as whom to perform this operation

-V, --version

Print version information

Subcommands

add <files>

commit [-b] [-m <comment>|-M <comment-file>] [-D <date>] [-n]
-b, --backup

Forces commit to not make a new changeset. This will commit changes which have already been committed locally via -n (or as a result of having multiple repositories involved), but will not create a new changeset for existing file modifications. This is especially needed for committing to back-up servers (servers started with -b) as it is the only way to commit changes to a back-up server. This is not the recommended way to commit changes to normal servers. In general, if one wishes to commit changes committed offline without committing new changes, one should commit and changeset with all the files in the "### files" list removed.

-D, --date

YYYY/MM/DD HH:MM:SS TZ indicating changeset creation time

-m, --message

Use message as the commit message

-M, --message-file

Get commit message from file

-n, --no-network

is used to commit changes off-line. Changes committed off-line can still be used with all commands, but are not visible to other users until an on-line commit is done.


construct <changeset>

create <repository name>

describe [-x|-d] [-s] <changeset>
-d, --diff

does a diff

-x, --xml

displays an XML version of the output. This is not compatible with displaying a diff. This can only be used with parenthesized changesets from the file history. It's sort of a hack right now, really.


destroy <repository>

diff [-r <changeset> [-r <changeset>] ] [<files>]

edit <files>

heads

history [-h <changeset>] [-c <count>] [-s <skip count>] [-v] [<files>]
-c, --count

print only the specified number of changes.

-h, --head

print the history starting at the given changeset.

-s, --skip

skips the first skip count changes.

-v, --verbose

causes it to print the changes verbosely which includes additional information about each changeset which affected the files.


init

is_ancestor <changeset1> <changeset2>

last-modified <file>

list-repos

password

print_dag [-h <changeset>] [-h <changeset>] [...] <file>

print_history [<changeset>]

rebuild

remove <files>

rename <file> <newname>

revert [-a] <files>
-a, --unmodified

indicates files should only be reverted if they have not been modified. Basically unmarks them as open for edit.


set <variable> <value>

show-vars

status [-v]
-v, --verbose

A more verbose status which includes mention of files which are in the directory space, but not in the repository and files missing from the directory space.


unset <variable>

update [-d]
-d, --dont-merge

Pull in changesets but do not merge them. Has no effect on the workspace state. This allows a user to browse and diff changesets without having to merge.

Specifying files:

General Notes

Files can be specified using bash-style wildcards on any platform. In addition, '...' behaves like a find command, expanding all files and directories within subdirectories.

All printed graphs are output in a format intended to be run through the graphviz "dot" tool.

Using tcsh as the startup shell under cygwin appears to result in the Python password command hanging, so it is incompatible with Codeville and there's not a thing we can do about it.

last edited 2005-09-12 04:49:11 by RossCohen