Go Back   Scooter Forums > Beyond Compare 2 Discussion > Tales from the Trenches
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 17-Oct-2007, 02:38 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,792
Default Generating a report of two Subversion revisions

Instructions for generating a file comparison report of two different revisions of the same Subversion project.

First, create a script to generate the file comparison report.
Code:
filter "-.svn\"
load %1 %2
expand all
select all.files
file-report layout:side-by-side options:ignore-unimportant,display-context output-to:%3 output-options:html-color
Then create a batch file that checks out the source from Subversion and calls the script.

Code:
svn checkout -r %2 %1 bcsvn1
svn checkout -r %3 %1  bcsvn2
"c:\program files\beyond compare 2\bc2.exe" /silent @bcreport.txt bcsvn1 bcsvn2 %4
rmdir /S /Q bcsvn1
rmdir /S /Q bcsvn2
To call the above script, use the following command line:
Code:
svncompare.bat svn://server/folder 123 345 report.html
__________________
Chris K Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:46 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.