[ACCEPTED]-CVS: List all files changed between tags (or dates)-cvs

Accepted answer
Score: 35

I suppose this command would help:

cvs diff -N -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs

where 9 RELEASE_1_0 and RELEASE_1_1 are the names of your tags.

You can 8 find a little more information on cvs diff 7 command here

plus it should be fairly simple 6 to create a script to make report more suitbable 5 for your needs, ex: number of files changed, created 4 deleted etc. As far as I know the most common 3 cvs GUI tools (wincvs and tortoise) do not 2 provide something like this out of the box.

Hope 1 it helps ;)

Score: 24

I prefer using rdiff and -s option

cvs rdiff -s  -r RELEASE_1_0 -r RELEASE_1_1 module > diffs

rdiff does not require 1 a sandbox; -s gives you a summary of the changes.

Score: 17

To get the list of files between two dates 2 using CVS:

cvs diff -N -c -D YYYY-MM-DD -D YYYY-MM-DD | grep "Index:" > diff.out

More information on accepted dates 1 for the -D flag: http://docs.freebsd.org/info/cvs/cvs.info.Common_options.html

Score: 11

To get a list of files that have changed 5 between one version and another using the 4 standard cvs commands:

cvs -q log -NSR -rV-1-0-69::V-1-0-70 2>/dev/null >log.txt

Or alternatively, to 3 get a list of commit comments just drop 2 the -R:

cvs -q log -NS -rV-1-0-69::V-1-0-70 2>/dev/null >log.txt

Where you replace V-1-0-69 and V-1-0-70 with the revisions 1 you're comparing.

Score: 9
cvs log -d ">=DATE" -N -S -R > cvs.log


Score: 4

DLira's method gives a lot of detail, including 2 all the changes.

To just get a list of files, this 1 works:

cvs diff -N -c -r RELEASE_1_0 -r RELEASE_1_1 | grep "Index:" > diffs
Score: 1

The best tool I've found for this is a perl 6 script called cvs2cl.pl. This can generate a change 5 list in several different formats. It 4 has many different options, but I've used 3 the tag-to-tag options like this:

cvs2cl.pl --delta dev_release_1_2_3:dev_release_1_6_8


cvs2cl.pl --delta dev_release_1_2_3:HEAD

I have 2 also done comparisons using dates with the 1 same tool.

More Related questions