Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15457912
D8769.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8769.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8769: Remove some ad-hoc loading of repositories from Releeph
Attached
Detach File
Event Timeline
Log In to Comment