I'm using CVS to update my site. I've installed update_status and cvs_deploy.
When activating cvs_deploy, I get an error of calling an undefined function update_status_get_project.
This error appears in line 100 of cvs.deploy:

<?php
if (module_exists('update_status')) {
  $project['project'] = update_status_get_project($file);
}
?>

Comments

dww’s picture

Title: Call to undefined function update_status_get_project » Gracefully fail if update_status 5.x-1.* is being used
Category: bug » task
Priority: Critical » Normal
Status: Needs review » Needs work

CVS deploy is meant for update_status 5.x-2.*. update_status 5.x-1.* is now deprecated, and should no longer be used.

That said, it'd be nice to more gracefully handle this error case. However, the patch here is wrong, and will break things in update_status 5.x-2.* land.

dww’s picture

Assigned: Unassigned » dww
Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.22 KB

like so.

dww’s picture

Status: Reviewed & tested by the community » Fixed

Committed to DRUPAL-5 branch. D6 (HEAD) is a whole different story, so I'm going to call this particular issue fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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