public function drush_pm_version_control_bzr::post_download

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

Implementation of post_download().

Overrides drush_pm_version_control::post_download

File

commands/pm/version_control/bzr.inc, line 64
Drush pm Bazaar extension

Class

drush_pm_version_control_bzr

Code

public function post_download($project) {
  if ($this->sync($project)) {
    // Only attempt commit on a sucessful sync
    $this->commit($project);
  }
}