How to generate reports between labels or branches of a SCC or SCM?
Thursday, June 01, 2006
Sunday, July 02, 2006
Number of times viewed
Ellié Computing Merge 1.2 brings a new HTML and XML reports features. These features are available from command line, this a particularly important point: you can batch or make your own home-made tools for your Source Code Control or Software Change Management. Most of these tools have poor reporting features.
Ellié Computing Merge can be used in combination with the command line 'get' feature of most of these tools to first get your content for the wanted configurations then launch Merge on these snapshots.
Here is a sample for Visual Source Safe that you can easily adapt to your source code control (if you need this script for another source code control, please contact our support, we'll try to help you and add the script to our site).
@pushd %~dp0 @echo off rem batch to compare two labels in Source Safe rem Parameters: <SERVER_PATH> <DATABASE_PATH> <LABEL1> <LABEL2> <TARGET_FILE> <OPTIONS-SET>
set SSDIR=%1 echo Getting sources for label %3 ss cp %2 md %TMP%\%3 ss get -VL%3 -GCK "-GL%TMP%\%~3" -R .
echo Getting sources for label %4 md %TMP%\%4 ss get -VL%4 -GCK "-GL%TMP%\%~4" -R .
@echo on merge.exe --options-set=%6 --export-to=%5 -Xhtml "%TMP%\%~3" "%TMP%\%~4"