.TH "CvsGraph" "1" "@VERSION@" "B. Stultiens" "CVS/RCS Utilities"
cvsgraph \- A CVS/RCS repository grapher
\fBcvsgraph\fR [\fIoptions\fR] [\fIfile\fR]
\fBCvsGraph\fR generates images and image maps from CVS/RCS repository files.
Deprecated, use -O'branch_dupbox=-1' for same functionality.
Read alternate config from \fIfile\fR.
Enable debug mode at \fIlevel\fR. The amount of information is determined by a
bitwise or of the following: 1=config lexer, 2=config parser, 4=rcsfile lexer,
8=rcsfile parser, 16=rcsfile structure. The \fIlevel\fR argument may be in
decimal, octal or hexadecimal format.
A brief description of possible options.
Generate an image map instead of an image.
Also write an image map to \fIfile\fR. This can be useful if you want to
generate both image and image map simultaneously. This halves the total time
spent on accessing the repository file because it is parsed only once.
However, keeping track of auto-generated files can be a bit of a hack if
used in HTTP requests (unless you pass both image and HTML file in one
Note 1: most time is used for the image-drawing routines (actually libgd),
so you might want to think twice in CGI apps.
Note 2: you can still use '\fB-o\fR' to specify an output file for the image.
And, if you also specify '\fB-i\fR', then you'll get two image maps, for
whatever purpose that might be.
Deprecated, use -O'auto_stretch=-1' for same functionality.
This function is \fBnot\fR stable.
Deprecated, use -O'map_name="AMapName"' for same functionality.
Use \fImod\fR as the CVS module.
This option overrides \fBcvsmodule\fR in the configuration file.
Set \fIcfg_option\fR to \fIvalue\fR. Multiple \fB-O\fR are allowed as well
as multiple options can be set simultaneously by separating them with ';'.
See \fBcvsgraph.conf(5)\fR for a detailed list of options.
See also \fBCONFIGURATION\fR below.
Output to \fIfile\fR. Otherwise, output is written to standard output.
Be quiet (i.e. no warnings)
Use \fIpath\fR as the CVS root.
This option overrides \fBcvsroot\fR in the configuration file.
Deprecated, use -O'strip_untagged=-1' for same functionality.
Deprecated, use -O'strip_first_rev=-1' for same functionality.
Deprecated, use -O'upside_down=-1' for same functionality.
Print version and exit.
Set the HTML level of compliance for image maps. Use \fI3\fR for HTML 3.x,
\fI4\fR for HTML 4.x and \fIx\fR for XHTML. Default is HTML 3.x compatibility.
Use \fItxt\fR for expansion
\fBCvsGraph\fR starts with reading a configuration file. If the '\fB\-c\fR'
option is given on the command line, then it is read. Otherwise, \fBcvsgraph\fR
first looks for a configuration file in the current directory using
\fI./cvsgraph.conf\fR and, if not found, tries to open
\fI@sysconfdir@/cvsgraph.conf\fR. Defaults and command line overrides
will be used if no configuration file can be opened. The format of the
configuration file is described in \fBcvsgraph.conf(5)\fR. Configuration
parameters entered on the command line have always precedence over the
configuration file. Configuration options are processed in the following
- configuration file
- '\fB-O\fR' command line options
- other command line overrides (\fB-bkMmrSsu\fR)
If you do not want to process any configuration file, then you can set option
\'\fB-c /dev/null\fR', which will read an empty configuration file.
The location of a repository file is determined by the configuration parameters
\fBcvsroot\fR and \fBcvsmodule\fR and the respective command line options
\&'\fB\-r\fR' and '\fB\-m\fR'. The \fBcvsroot\fR, \fBcvsmodule\fR and \fIfile\fR
are concatenated with separating '/' path\-separators forming the final
No path\-separator is appended if \fBcvsroot\fR and \fBcvsmodule\fR are empty
strings. An error message is issued if the resulting path cannot be opened.
Note that \fBcvsgraph\fR does not attempt to check any validity of the path
components. This enables a user to open any file on the file\-system by setting
\fBcvsroot\fR and \fBcvsmodule\fR to empty strings.
For example, \fIcvsgraph \-r '' \-m '' ../myfile,v\fR would try to open the
file \fI../myfile,v\fR. Note that a variety of possibilities yield the same
file and all have their advantages and drawbacks, which are mostly related to
the possible use of the parameters in text expansions.
If no \fIfile\fR is given on the command line, then input is read from standard
input. This can make expansion strings somewhat strange looking, but they are
composed with the information available. If no input file was given, then the
input filename for expansion is set to \fB<stdin>\fR.
The output generated by \fBcvsgraph\fR can be either an image (default) or and
HTML image map ('\fB\-i\fR' and '\fB-I\fR' options).
Images can have several formats, depending on the capabilities of the gd
library on which the drawing is built. The configuration allows for GIF, PNG or
JPEG type images. Some recent versions of gd do no longer support GIF and PNG
will be used instead. GIF support in gd was added again after the lzw patent
Generation of image maps conforms to the HTML standard and maps rectangular
regions of the image where revisions and branches are drawn. Additionally, an
extra rectangular region is generated between revisions to support diff
Configuration file read for default layout parameters.
\fBCvsGraph\fR is written and maintained by B. Stultiens.
Send comments and bug reports to \fIcvsgraph@akhphd.au.dk\fR (read the mailnote
in the README file first) and visit the homepage at:
.SH "SEE ALSO"