PDA

View Full Version : CVS Compare batch


MitchellSTL
21-Jul-2004, 10:06 AM
NOTE: Fairly new to BC, so please be patient.

I've read several posts in the support forum on how to exclude CVS tags from the list. The problem that I have is that each time I run the report, numbers are always off a bit. What I want is a script that will compare all files & folders plus show me where files have been removed or added. Of course, the CVS tag directories should not be scanned, so they need to be excluded. I don't need a listing of the files that do match.

I would think it is not that hard, but I'm not getting a "warm fuzzy" feeling when the numbers seem to come up the same. I'm sure it's something that I'm doing that alters the results, but I'm not sure what it is. =)

Chris
21-Jul-2004, 11:31 AM
Here's a script that should do what you want:
criteria timestamp size
load %1 %2
expand all
filter "-CVS\"
folder-report layout:summary options:display-mismatches output-to:%3

The syntax to run the script is:
bc2 @script.txt file1 file2 report.txt

Let us know if you have any problems with it.