public function drush_version_control_svn::post_update

8.0.x svn.inc public drush_version_control_svn::post_update($project)
6.x svn.inc public drush_version_control_svn::post_update($project)
7.x svn.inc public drush_version_control_svn::post_update($project)
5.x svn.inc public drush_version_control_svn::post_update($project)
master svn.inc public drush_version_control_svn::post_update($project)

Implementation of post_update().

Overrides drush_version_control::post_update

File

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

Class

drush_version_control_svn

Code

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