public function drush_pm_version_control_bzr::post_update

3.x bzr.inc public drush_pm_version_control_bzr::post_update($project)
4.x bzr.inc public drush_pm_version_control_bzr::post_update($project)

Implementation of post_update().

Overrides drush_pm_version_control::post_update

File

commands/pm/version_control/bzr.inc, line 34
Drush pm BZR extension

Class

drush_pm_version_control_bzr

Code

public function post_update($project) {
  if (is_versioned($project['full_project_path']) && sync($project)) {
    // Only attempt commit on a sucessful sync
    commit($project);
  }
}