Index: commands/pm/updatecode.pm.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/updatecode.pm.inc,v
retrieving revision 1.15
diff -u -p -r1.15 updatecode.pm.inc
--- commands/pm/updatecode.pm.inc	10 Nov 2010 02:55:41 -0000	1.15
+++ commands/pm/updatecode.pm.inc	19 Nov 2010 00:14:49 -0000
@@ -378,6 +378,14 @@ function pm_project_filter(&$projects, &
         break;
     }
     
+    // Special checking:  if drush decides that the
+    // candidate version is older than the installed
+    // version, then we will set the candidate version
+    // to the installed version.
+    if ($project['releases'][$project['candidate_version']]['date'] < $project['releases'][$project['existing_version']]['date']) {
+      $project['candidate_version'] = $project['existing_version'];
+    }
+    
     if (isset($project['locked'])) {
       $status = $project['locked'] . " ($status)";
     }
