PrestoSoft Blog :: Home

Tuesday, June 15, 2010

ExamDiff Pro's -nh Command-Line Option And Source Control

Source control utilities generally handle comparing different versions of files by creating a new temporary file for each version that's being compared. We obviously don't want to store these temporary files in ExamDiff Pro's history, and this blog post will demonstrate how to use the -nh command-line option to avoid this problem.

Note: For this blog post, I will be describing how to integrate ExamDiff Pro with Visual SourceSafe 8.0, but a similar procedure will apply to most source control utilities.

First, let's try setting up ExamDiff Pro as an external comparison tool for SourceSafe. A simple way to do this is shown below. Setting this option will enable us to use ExamDiff Pro to compare different versions of files in source control.



Unfortunately, this causes a problem. When we use ExamDiff Pro to perform comparisons within SourceSafe, all of the temporary files that we compare land in ExamDiff Pro's comparison history! As shown below, the files don't have icons next to them, because ExamDiff Pro recognizes that they no longer exist. The result can become pretty messy, so we need to find a way to compare files without adding them to the history.



We can resolve this problem by using the -nh command-line option, which prevents compared files from being added to ExamDiff Pro's history. By adding -nh to ExamDiff Pro's command line parameters in the SourceSafe options, we're able to use ExamDiff Pro to compare different versions of source code effectively without adding unnecessary files to our comparison history:

Labels: , ,

Sunday, June 06, 2010

Multi-Year Maintenance Packages Now Available

Customers are now able to purchase licenses that allow free upgrades for up to ten years when ordering ExamDiff Pro or FtpVC through Google Checkout or PayPal. Each additional maintenance year (after the first) for a full license is 55% off, and each additional maintenance year for an upgrade license is 20% off.

We've also developed a handy savings calculator for our purchase pages to help you determine if purchasing a multi-year license is a good deal for you. Let's take a look at a simple example for ExamDiff Pro:



In this example, the customer selects a single two-year license for ExamDiff Pro. Because the second year is 55% off of the original price ($34.99 in this case), the total price comes to $34.99 + 45% * $34.99 = $34.99 + $15.75 = $50.74, as is shown. On the other hand, the customer could choose to purchase a single-year license and then purchase a $19.99 upgrade license the next year (the equivalent of a two-year license), in which case the total price would come to $34.99 + $19.99 = $54.98.

Thus, by purchasing a two-year license rather than a single-year license and then an upgrade, the customer in this example saves ($54.98 - $50.74) / $54.98 = 7.71%, as is displayed in the purchase form. Of course, savings are higher for longer-term licenses (for example, if the customer in this example purchased a 10-year license, his savings would come out to 17.78%).

Labels: , ,