public function drush_pm_version_control_svn::post_download

3.x svn.inc public drush_pm_version_control_svn::post_download($project)
4.x svn.inc public drush_pm_version_control_svn::post_download($project)

Implementation of post_download().

Overrides drush_pm_version_control::post_download

File

commands/pm/version_control/svn.inc, line 72
Drush pm SVN extension

Class

drush_pm_version_control_svn

Code

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