#At file:///D:/Work/MySQL/installer/ based on revid:mike.lischke@stripped
378 Mike Lischke 2011-03-22
Product: fixed mistake in version parsing.
modified:
WexInstaller.Core/Product.cs
=== modified file 'WexInstaller.Core/Product.cs'
=== modified file 'WexInstaller.Core/Product.cs'
--- a/WexInstaller.Core/Product.cs 2011-03-22 11:40:09 +0000
+++ b/WexInstaller.Core/Product.cs 2011-03-22 11:43:06 +0000
@@ -716,7 +716,7 @@
if (p.ThisVersion != possibleOlderPackage.ThisVersion)
{
// Compare only products with same major and minor number.
- Regex regex = new Regex(@"(?<main>(\d+\.){2})(?<build>\d+[a-z]?)(?<revision>\.\d+)?");
+ Regex regex = new Regex(@"(?<main>(\d+\.){2})(?<build>\d+[a-z]?)(\.(?<revision>\d+))?");
Match thisMatch = regex.Match(p.ThisVersion);
Match otherMatch = regex.Match(possibleOlderPackage.ThisVersion);
if (thisMatch.Success && otherMatch.Success)
Attachment: [text/bzr-bundle] bzr/mike.lischke@oracle.com-20110322114306-bcsv1zr680e4js7a.bundle
| Thread |
|---|
| • bzr commit into wex-installer-1.0 branch (mike.lischke:378) | Mike Lischke | 22 Mar |