Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F19507725
D11055.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
D11055.diff
View Options
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -116,18 +116,19 @@
public function toDictionary() {
return array(
- 'id' => $this->getID(),
- 'name' => $this->getName(),
- 'phid' => $this->getPHID(),
- 'callsign' => $this->getCallsign(),
- 'monogram' => $this->getMonogram(),
- 'vcs' => $this->getVersionControlSystem(),
- 'uri' => PhabricatorEnv::getProductionURI($this->getURI()),
- 'remoteURI' => (string)$this->getRemoteURI(),
- 'description' => $this->getDetail('description'),
- 'isActive' => $this->isTracked(),
- 'isHosted' => $this->isHosted(),
- 'isImporting' => $this->isImporting(),
+ 'id' => $this->getID(),
+ 'name' => $this->getName(),
+ 'phid' => $this->getPHID(),
+ 'callsign' => $this->getCallsign(),
+ 'monogram' => $this->getMonogram(),
+ 'vcs' => $this->getVersionControlSystem(),
+ 'uri' => PhabricatorEnv::getProductionURI($this->getURI()),
+ 'remoteURI' => (string)$this->getRemoteURI(),
+ 'description' => $this->getDetail('description'),
+ 'isActive' => $this->isTracked(),
+ 'isHosted' => $this->isHosted(),
+ 'isImporting' => $this->isImporting(),
+ 'defaultBranch' => $this->getDefaultBranch(),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 10, 10:47 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8923803
Default Alt Text
D11055.diff (1 KB)
Attached To
Mode
D11055: Added defaultBranch to the Repository Dictionary that is returned on conduit calls.
Attached
Detach File
Event Timeline
Log In to Comment