? drush-1023120.patch
? drush-private-path-default.patch
? includes/table.inc
Index: commands/pm/updatecode.pm.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/updatecode.pm.inc,v
retrieving revision 1.46
diff -u -r1.46 updatecode.pm.inc
--- commands/pm/updatecode.pm.inc	11 Jan 2011 05:04:09 -0000	1.46
+++ commands/pm/updatecode.pm.inc	22 Jan 2011 17:12:17 -0000
@@ -23,16 +23,16 @@
   // Parse out project name and version.
   $requests = pm_parse_project_version($requests);
 
+  // Get installed extensions and projects.
+  $extensions = drush_get_extensions();
+  $projects = drush_get_projects($extensions);
+
   // Get update status information.
-  $update_info = _pm_get_update_info();
+  $update_info = _pm_get_update_info($projects);
 
   // Process locks specified on the command line.
   $locked_list = drush_pm_update_lock($update_info, drush_get_option_list('lock'), drush_get_option_list('unlock'), drush_get_option('lock-message'));
 
-  // Get installed extensions and projects.
-  $extensions = drush_get_extensions();
-  $projects = drush_get_projects($extensions);
-
   foreach ($extensions as $name => $extension) {
     // Add an item to $update_info for each enabled extension which was obtained
     // from cvs or git and its project is unknown (because of cvs_deploy or
Index: commands/pm/update_info/drupal_5.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/update_info/drupal_5.inc,v
retrieving revision 1.10
diff -u -r1.10 drupal_5.inc
--- commands/pm/update_info/drupal_5.inc	24 Nov 2010 10:00:02 -0000	1.10
+++ commands/pm/update_info/drupal_5.inc	22 Jan 2011 17:12:17 -0000
@@ -51,7 +51,7 @@
  *
  * @return An array containing remote and local versions for all installed projects
  */
-function _pm_get_update_info($projects = NULL) {
+function _pm_get_update_info($projects) {
   // We force a refresh if the cache is not available.
   if (!cache_get('update_status_info', 'cache')) {
     _pm_refresh();
@@ -70,6 +70,7 @@
   // or pm_get_project_path() will fail
   foreach ($data as $project_name => $project_data) {
     $data[$project_name]['project_type'] = 'module';
+    $data[$project_name]['modules'] = drupal_map_assoc($projects[$project_name]['extensions']);
   }
   $data = _pm_get_project_path($data, 'modules');
 
Index: commands/pm/update_info/drupal_6.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/update_info/drupal_6.inc,v
retrieving revision 1.11
diff -u -r1.11 drupal_6.inc
--- commands/pm/update_info/drupal_6.inc	11 Jan 2011 03:35:27 -0000	1.11
+++ commands/pm/update_info/drupal_6.inc	22 Jan 2011 17:12:17 -0000
@@ -53,7 +53,7 @@
  *
  * @return An array containing remote and local versions for all installed projects
  */
-function _pm_get_update_info($projects = NULL) {
+function _pm_get_update_info($projects) {
   // We force a refresh if the cache is not available.
   if (!cache_get('update_available_releases', 'cache_update')) {
     _pm_refresh();
@@ -71,6 +71,7 @@
     if (in_array($project['project_type'], array('disabled-module', 'disabled-theme'))) {
       $data[$project_name]['project_type'] = array_pop(explode('-', $project['project_type']));
     }
+    $data[$project_name]['includes'] = drupal_map_assoc($projects[$project_name]['extensions']);
   }
   $data = _pm_get_project_path($data, 'includes');
 
Index: commands/pm/update_info/drupal_7.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/update_info/drupal_7.inc,v
retrieving revision 1.11
diff -u -r1.11 drupal_7.inc
--- commands/pm/update_info/drupal_7.inc	11 Jan 2011 03:35:27 -0000	1.11
+++ commands/pm/update_info/drupal_7.inc	22 Jan 2011 17:12:17 -0000
@@ -53,7 +53,7 @@
  *
  * @return An array containing remote and local versions for all installed projects
  */
-function _pm_get_update_info($projects = NULL) {
+function _pm_get_update_info($projects) {
   // We force a refresh if the cache is not available.
   if (!cache_get('update_available_releases', 'cache_update')) {
     _pm_refresh();
@@ -70,6 +70,7 @@
     if (in_array($project['project_type'], array('module-disabled', 'theme-disabled'))) {
       $data[$project_name]['project_type'] = array_shift(explode('-', $project['project_type']));
     }
+    $data[$project_name]['includes'] = drupal_map_assoc($projects[$project_name]['extensions']);
   }
   $data = _pm_get_project_path($data, 'includes');
 
