public function drush_version_control_bzr::post_download

8.0.x bzr.inc public drush_version_control_bzr::post_download($project)
6.x bzr.inc public drush_version_control_bzr::post_download($project)
7.x bzr.inc public drush_version_control_bzr::post_download($project)
5.x bzr.inc public drush_version_control_bzr::post_download($project)
master bzr.inc public drush_version_control_bzr::post_download($project)

Implementation of post_download().

Overrides drush_version_control::post_download

File

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

Class

drush_version_control_bzr

Code

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