Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/request/DiffusionSvnRequest.php
<?php | <?php | ||||
final class DiffusionSvnRequest extends DiffusionRequest { | final class DiffusionSvnRequest extends DiffusionRequest { | ||||
public function supportsBranches() { | |||||
return false; | |||||
} | |||||
protected function isStableCommit($symbol) { | protected function isStableCommit($symbol) { | ||||
return preg_match('/^[1-9]\d*\z/', $symbol); | return preg_match('/^[1-9]\d*\z/', $symbol); | ||||
} | } | ||||
protected function didInitialize() { | protected function didInitialize() { | ||||
if ($this->path === null) { | if ($this->path === null) { | ||||
$subpath = $this->repository->getDetail('svn-subpath'); | $subpath = $this->repository->getDetail('svn-subpath'); | ||||
if ($subpath) { | if ($subpath) { | ||||
Show All 10 Lines |