Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/request/DiffusionRequest.php
| Show All 22 Lines | abstract class DiffusionRequest extends Phobject { | ||||
| protected $repositoryCommitData; | protected $repositoryCommitData; | ||||
| private $isClusterRequest = false; | private $isClusterRequest = false; | ||||
| private $initFromConduit = true; | private $initFromConduit = true; | ||||
| private $user; | private $user; | ||||
| private $branchObject = false; | private $branchObject = false; | ||||
| private $refAlternatives; | private $refAlternatives; | ||||
| abstract public function supportsBranches(); | final public function supportsBranches() { | ||||
| return $this->getRepository()->supportsRefs(); | |||||
| } | |||||
| abstract protected function isStableCommit($symbol); | abstract protected function isStableCommit($symbol); | ||||
epriestley: Currently "branch support" is a property of `DiffusionRequest`, which is mostly a URI… | |||||
| protected function didInitialize() { | protected function didInitialize() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| /* -( Creating Requests )-------------------------------------------------- */ | /* -( Creating Requests )-------------------------------------------------- */ | ||||
| ▲ Show 20 Lines • Show All 655 Lines • Show Last 20 Lines | |||||
Currently "branch support" is a property of DiffusionRequest, which is mostly a URI-parsing/routing class that handles bundling up and unbundling all the commit/path/line/branch information in a source/xyz/master/path/to/thing.c;abcd1234$12 URI.
This is a legacy sort of thing; I moved it to Repository instead.