Bug in using Drush 5.0 (updated as of Dec 11 2011) - can't find release_info_get_releases function.

Drush Version Bug

> drush version --debug
Bootstrap to phase 0. [0.01 sec, 2.08 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.01 sec, 2.22 MB] [bootstrap]
Loading drushrc "/home/ubuntu/.drush/drushrc.php" into "home.drush" scope. [0.01 sec, 2.22 MB]                                                                                                      [bootstrap]
Cache HIT cid: 5.0-dev-commandfiles-0-a8cddc3f989bd393f394f7afc135ab6b [0.02 sec, 2.23 MB]                                                                                                              [debug]
Bootstrap to phase 0. [0.13 sec, 5.2 MB]                                                                                                                                                            [bootstrap]
Bootstrap to phase 0. [0.16 sec, 5.21 MB]                                                                                                                                                           [bootstrap]
Found command: version (commandfile=core) [0.16 sec, 5.21 MB]                                                                                                                                       [bootstrap]
drush version 5.0-dev
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                                  [error]
Error: Call to undefined function release_info_get_releases() in /var/www/drush/includes/drush.inc, line 193 [0.2 sec, 5.25 MB]

Drush Status

> drush status
 PHP configuration     :  /etc/php5/cli/php.ini                   
 Drush version         :  5.0-dev                                 
 Drush configuration   :                                          
 Drush alias files     :  /home/ubuntu/.drush/aliases.drushrc.php 

Comments

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

Can't reproduce; working fine with HEAD of master. Try drush cc drush, maybe?

bbeyer’s picture

Status: Postponed (maintainer needs more info) » Active

I am getting this only when running --version. So far it seems to work fine for everything else.

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

drush --version still working fine on all of my machines.

greg.1.anderson’s picture

Oh, and drush version and drush version --debug are also working for me.

jonhattan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Greg: that's because you're a hacker that uses git :p

Fixed in http://drupalcode.org/project/drush.git/commitdiff/670bcae

greg.1.anderson’s picture

Oh, yeah, that's true. Thanks for that. Obvious in retrospect.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.