summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>2011-10-21 16:41:28 +0200
committerMaurice Kalinowski <maurice.kalinowski@nokia.com>2011-10-21 16:46:31 +0200
commitb5ac95d8350d73711c249892767172ec94b4f27a (patch)
tree810a2a23696fdfb4ae9ab9755f4cde6796b0e22b /tools
parent432fe386bf9d9ab75b912671c567fd5b7cbbac44 (diff)
we are fine if the release date is the same
only if the release date moves back in time, we should throw an error Change-Id: I61b737eb0181a365fb2287be56acee26dca7fcbb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/repocompare/repositorymanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/repocompare/repositorymanager.cpp b/tools/repocompare/repositorymanager.cpp
index 1e746b480..c27abb304 100644
--- a/tools/repocompare/repositorymanager.cpp
+++ b/tools/repocompare/repositorymanager.cpp
@@ -162,7 +162,7 @@ bool RepositoryManager::updateRequired(const QString &componentName, QString *me
const ComponentDescription &productionDescription = productionMap.value(componentName);
const ComponentDescription &updateDescription = updateMap.value(componentName);
if (createVersionNumber(productionDescription.version) < createVersionNumber(updateDescription.version)) {
- if (productionDescription.releaseDate >= updateDescription.releaseDate) {
+ if (productionDescription.releaseDate > updateDescription.releaseDate) {
if (message)
*message = QString::fromLatin1("Error: Component %1 has wrong release date %2").arg(componentName).arg(updateDescription.releaseDate.toString());
return false;