Standard revision-control commands
| Usage | Command | Examples | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Usage |
av -h |
|
||||||||||||||
Initiate revision control |
av [1] |
|
||||||||||||||
Check-in:
|
av [ -m <commit message> ] [--source=<source name>] [2] |
|
||||||||||||||
Check out:
|
av co [ <revision> | <release tag> | <filename>[:<revision>]] [ -o <output folder> ] [2] |
|
||||||||||||||
Check out:
|
av co … [ --source=<source name>] |
|
||||||||||||||
Create a branch |
av <branch folder>[:<revision> | <release tag>] [ -o <output folder> ] [2] |
|
||||||||||||||
Status polling |
av check [ --verbose ] [2] |
|
||||||||||||||
Listing new, removed and modified files |
av -l [2] |
|
||||||||||||||
Display current revision |
av rev [2] |
|
||||||||||||||
Display current hash signature |
av hash [2] |
|
||||||||||||||
Compute and display hash signature of a random folder |
av hash <directory> |
|
||||||||||||||
Show the revision history |
av log [-y] [ --verbose ] [ --from=<rev> ] [ --to=<rev> ] [2] |
|
||||||||||||||
Check revision history of a specific file |
av log <file> [-y] [ --verbose ] [ --from=<rev> ] [ --to=<rev> ] [2] |
|
||||||||||||||
Tag a revision |
av pub [<tag>:<revision>] [ -m <log message> ] [2] |
|
||||||||||||||
Show the release tags history |
av rel [-y] [2] |
|
||||||||||||||
Create a release hook |
av hook [ <program> ] [2] |
|
||||||||||||||
Check differences |
av <diff tool> [ <revision> | head | current[vs<revision | release tag>] ] [2] where <diff tool> is any of : diff, meld, git |
|
||||||||||||||
Take out of revision control |
av destroy [2] |
|
||||||||||||||
Export as a tar ball |
av tarball [ <revision> | head ] [2] |
|
||||||||||||||
Export to GitHub |
av export [ <directory> ] [2] |
|
||||||||||||||
Display available sources in repository |
av list |
Example of out: Source Head Hash Owner arcv 152 f003f2778b1cd656 michel (1000) 51M arcv-test 82 ffe48281b805d5a6 michel (1000) 202M wwwserver 127 94ff298a1852e3f0 michel (1000) 402M |
||||||||||||||
Provide information about the repository |
av repo [ <info name> ] [-U] |
<info name> any of: releases latest-release-tag latest-release-rev exclude-file exclusions src-dir rev-dir rev-hashfilepath rev-hashfilename head-dir head-image-dir git-repo size
|
Fetching and pushing of data from/to an URI
| Usage | Command | Examples | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Initiate revision control with data fetched from an URI |
av --source=<URI> --fetch [1] |
|
||||||||
Fetch and check-in |
av [ --source=<URI> [ --rm ] ] --fetch |
|
||||||||
Fetch-only from URI |
av --source=<URI> --fetch-only |
|
||||||||
Push data back to an URI (restore) |
av [-y] [ --source=<URI> ] push [<revision|tag>] |
|
Backup-related options
| Usage | Command | Examples | ||||
|---|---|---|---|---|---|---|
Create a circular backup |
av --cycle=<number>[+] [1] |
|
||||
Set a minimum time interval to respect between two commits. |
av --interval=<number>d | <number>h | <number>m | <number>s [1] |
|
||||
Commit new revision even when no change |
av --force [2] |
|
1 There’s no directory of the same name as the current one already in the repository
2 The current working directory is under revision control, i.e. a directory of the same name as the current one is already in the repository.
3 The current working directory is assumed not to be under revision control. It is just aimed at storing a copy of the checked out folder.