Page MenuHomePhabricator

D8769.diff
No OneTemporary

D8769.diff

diff --git a/src/applications/releeph/controller/branch/ReleephBranchCreateController.php b/src/applications/releeph/controller/branch/ReleephBranchCreateController.php
--- a/src/applications/releeph/controller/branch/ReleephBranchCreateController.php
+++ b/src/applications/releeph/controller/branch/ReleephBranchCreateController.php
@@ -31,11 +31,10 @@
$symbolic_name = $request->getStr('symbolicName');
if (!$cut_point) {
- $repository = $product->loadPhabricatorRepository();
+ $repository = $product->getRepository();
switch ($repository->getVersionControlSystem()) {
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN:
break;
-
case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT:
$cut_point = $product->getTrunkBranch();
break;
diff --git a/src/applications/releeph/controller/project/ReleephProductEditController.php b/src/applications/releeph/controller/project/ReleephProductEditController.php
--- a/src/applications/releeph/controller/project/ReleephProductEditController.php
+++ b/src/applications/releeph/controller/project/ReleephProductEditController.php
@@ -139,9 +139,7 @@
id(new AphrontFormStaticControl())
->setLabel(pht('Repository'))
->setValue(
- $product
- ->loadPhabricatorRepository()
- ->getName()))
+ $product->getRepository()->getName()))
->appendChild(
id(new AphrontFormStaticControl())
->setLabel(pht('Arc Project'))
diff --git a/src/applications/releeph/query/ReleephProjectQuery.php b/src/applications/releeph/query/ReleephProjectQuery.php
--- a/src/applications/releeph/query/ReleephProjectQuery.php
+++ b/src/applications/releeph/query/ReleephProjectQuery.php
@@ -7,7 +7,6 @@
private $ids;
private $phids;
- private $needRepositories;
private $needArcanistProjects;
private $order = 'order-id';

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 8:00 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705797
Default Alt Text
D8769.diff (1 KB)

Event Timeline