SYNOPSIS
o cvsrdiff2cvsweb [--cvsweb=URL] [--urlsuffix=SFX] [--branch=TAG]
[--output-file=FILE] rdiff-file
o cvsrdiff2cvsweb [--cvsweb=URL] [--urlsuffix=SFX] [--branch=TAG]
[--output-file=FILE] --repository=REPO --rev1=REV1 --rev2=REV2 mod-
ule...
o cvsrdiff2cvsweb --version
DESCRIPTION
The cvsrdiff2cvsweb program takes output from "cvs rdiff -s" (change
summary) and converts it into HTML. Names of changed (added, updatet or
deleted) files are replaced with hyperlinks to a "cvsweb" CGI script.
This means you can click on any of the updated files and see the CVS
log (change history) and have access to all the revisions and deltas.
(The cgi-script "cvsweb.cgi" was originally written by Bill Fenner
<fenner@freebsd.org> for the FreeBSD project. It allows browsing of
CVS-repositories with a HTML-browser. CVS is a popular version control
system.)
Options may be abbreviated to a unique prefix. The options are as fol-
lows:
--cvsweb=URL
Specify URL of cvsweb.cgi script.
--urlsuffix=SFX
Specify some extra information for appending to generated URLs.
(You should not type a leading "?" or "&" character because it will
be added automatically.)
--branch=TAG
Tell "cvsweb.cgi" that you are only interested in file revisions on
the specified branch.
--output-file=FILENAME
Specify the output file. If no output file is specified standard
output is used.
--repository=REPOSITORY
This is used to invoke the "cvs rdiff" command. This option
requires options "--rev1" and "--rev2" too.
--rev1=REVISION1 --rev2=REVISION2
Specify which revisions to compare. Unless "CVSROOT" is set in your
environment this will also require option "--repository".
--version
Print version information and exit.
EXAMPLE
Suppose you are running the FreeBSD operating and want to know in
detail how the networking code changed between FreeBSD 6.1 and the lat-
est 6-X-stable.
"CVSROOT=:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs"
"export CVSROOT; cvs login # password 'anoncvs'"
"cvs rdiff -s -r RELENG_6_1_0_RELEASE -r RELENG_6 sys/netinet
>netinet.rdiff"
"cvsrdiff2cvsweb -cvsweb http://www.jp.FreeBSD.org/cgi/cvsweb.cgi
-branch RELENG_6 -out netinet.html netinet.rdiff"
Now open netinet.html with your favorite browser!
BUGS
There is no provision to invoke "cvs rdiff -s" with custom options or
dates ("-D") rather than revision numbers or tags. It is however possi-
ble to run "cvs rdiff -s" manually and feed the output into "cvs-
rdiff2cvsweb".
AUTHOR
Martin Kammerhofer <mkamm@gmx.net>
perl v5.8.8 2006-06-22 CVSRDIFF2CVSWEB(1)
Man(1) output converted with
man2html