I have 2 directories. The left side is a revised/modified set of files while the right hand side is a complete application. I'd like to compare the modified directories/files to the complete application to determine what changed.
My problem (or possibly my inexperience with BC) is if I do a folder compare, I get exactly what I want and it runs quickly. However, I also need the file reports as I need to report of the number of changed lines, delete lines, etc. The problem I have is it will compare all the files on the right as well. I only want the app to compare each file on the left to its counterpart on the right. This wouldn't necessarily be a problem but I have over 50K files on the right vs a change of possibly 50. It takes forever for it to run.
Any suggestions will be greatly appreciated.
thanks.
Here is my command file:
oad "C:\CLIENTS\SOURCECODE\DELTAS\EXPANDEDSOURCE\20090 506" "C:\Clients\SourceCode\MergedSourceCode"
filter "-* 02.*;-.\.svn\;-.svn\;-.\ComparisonDirectory\"
compare rules-based
expand all
select left.all
folder-report layout:summary options:display-left-newer-orphans &
&
output-to:"foldercompare.dat"
file-report layout:summary options:display-mismatches &
output-to:"file-summary.dat"
file-report layout:statistics options:display-mismatches &
output-to:"file-stats.dat"
My problem (or possibly my inexperience with BC) is if I do a folder compare, I get exactly what I want and it runs quickly. However, I also need the file reports as I need to report of the number of changed lines, delete lines, etc. The problem I have is it will compare all the files on the right as well. I only want the app to compare each file on the left to its counterpart on the right. This wouldn't necessarily be a problem but I have over 50K files on the right vs a change of possibly 50. It takes forever for it to run.
Any suggestions will be greatly appreciated.
thanks.
Here is my command file:
oad "C:\CLIENTS\SOURCECODE\DELTAS\EXPANDEDSOURCE\20090 506" "C:\Clients\SourceCode\MergedSourceCode"
filter "-* 02.*;-.\.svn\;-.svn\;-.\ComparisonDirectory\"
compare rules-based
expand all
select left.all
folder-report layout:summary options:display-left-newer-orphans &
&
output-to:"foldercompare.dat"
file-report layout:summary options:display-mismatches &
output-to:"file-summary.dat"
file-report layout:statistics options:display-mismatches &
output-to:"file-stats.dat"
Comment