NAME
cvsgdiff - Graphical Diff for CVS
SYNOPSIS
cvsgdiff [ <files> ...]
[ -r <rev1> ]
[ -r <rev2> ]
[ -gdiff <gdiff_path> ]
[ -cvs <cvs_path> ]
DESCRIPTION
cvsgdiff uses tkdiff or mgdiff to graphically display diffs
between CVS revisions of a file in your sandbox. It is
basically a graphical version of "cvs diff". If given no
arguments, cvsgdiff will launch the graphical diff program once
for every modified file in the current directory.
If given one or more filenames as arguments, cvsgdiff diplays
the diffs of each file. If given a revision, cvsgdiff will
display the diffs between the file in your sandbox and the BASE
revision in CVS. If given two revisions, cvsgdiff will display
the diffs between the two revisions in CVS for the given file.
The files in your sandbox are not touched.
cvsgdiff works by checking out the specified (or defaults to
BASE) revision of the specified file(s) into your tmp directory
and then launches a graphics diff program to display the
differences. The files in your tmp directory are then removed
when you exit the graphical diff program. cvsgdiff currently
supports tkdiff and mgdiff. It first checks the environment
variable GDIFF. If it is set, that program will be tried first.
If the GDIFF environment variable specifies an absolute path but
does not exist, cvsgdiff will then look for tkdiff and mgdiff.
EXAMPLES
Display diffs for every modified file in and under the current
directory
cvsgdiff
Display diffs for test.pl and test2.pl
cvsgdiff test.pl test2.pl
Display diffs between test.pl and CVS revision 0.2 of test.pl
cvsgdiff -r 0.2 test.pl
Display diffs between test.pl and the version of test.pl that
was tagged with RELEASE_TAG
cvsgdiff -r RELEASE_TAG test.pl
Display diffs between CVS revisions 0.2 and 0.3 of test.pl
cvsgdiff -r 0.2 -r 0.3 test.pl
DEPENDENCIES
Getopt::Long
Perl 5.60 or greater
A graphical diff program. I recommend tkdiff.
AUTHOR
Don Owens <don@regexguy.com>
The latest version of this software can be downloaded from
<http://freshmeat.net/projects/cvsgdiff> or
<http://perl.regexguy.com/dist/>
LICENSE AND COPYRIGHT
Copyright (c) 2000-2006, Don Owens <don@regexguy.com>
All rights reserved.
This code is released under the BSD license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the author nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SEE ALSO
tkdiff (http://freshmeat.net/projects/tkdiff/)
VERSION
0.04
