Compare two different snapshots in time of CVS projects : compare_cvs_versions

Compare two different snapshots in time of CVS projects : compare_cvs_versions

compare_cvs_versions

requires Ruby to be installed.

compare_cvs_versions takes two directory names as arguments, which should contain two different snapshots in time of a project under CVS control.

compare_cvs_versions enables you to compare those two versions of the project and to generate a side-by-side diff of the filenames and version numbers. The comparison is done soley based on the version numbers which are stored in the CVS/Entries files.
e.g.:

        # mkdir /tmp/past ; cd /tmp/past
        # cvs co -D past-date   projectname

        # mkdir /tmp/today ; cd /tmp/today
        # cvs co  projectname

	# compare_cvs_versions /tmp/past  /tmp/today 
	./Makefile                                     1.9   =      1.9
	./README                                       1.2   =      1.2
	./certsrv/VCafe.vep                            1.2  >>>
	./certsrv/config/kra-key.db                    1.2   =      1.2
	./certsrv/config/ns-certsrv4_2SP2.conf              <<<     1.1
	./certsrv/config/ra-cert7.db                   1.2   =      1.2
	./certsrv/run.mk                               1.3   <      1.4
The results of comparing the two versions is indicated by:

compare_cvs_versions uses the CVS/Entries files within the checked-out directories. Directory names are ommitted in the output (because they don't have version numbers).

Download compare_cvs_versions

The md5sum for revision 1.1 is 161fc382dfd57699d0898b6b971bb5e6

License

This script is freely available under the terms of the OpenSource "Artistic License"
in combination with the Addendum A at the end of this page. See Full License Text


Maintainer: Tilo Sloboda tilo@cs.cmu.edu
last update: $Revision: 1.5 $ / $Date: 2003/08/25 08:44:39 $