Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15302823
D18636.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1000 B
Referenced Files
None
Subscribers
None
D18636.diff
View Options
diff --git a/src/applications/differential/view/DifferentialRevisionListView.php b/src/applications/differential/view/DifferentialRevisionListView.php
--- a/src/applications/differential/view/DifferentialRevisionListView.php
+++ b/src/applications/differential/view/DifferentialRevisionListView.php
@@ -53,6 +53,10 @@
foreach ($this->revisions as $revision) {
$phids[] = array($revision->getAuthorPHID());
$phids[] = $revision->getReviewerPHIDs();
+ $repo_phid = $revision->getRepositoryPHID();
+ if ($repo_phid) {
+ $phids[] = array($revision->getRepositoryPHID());
+ }
}
return array_mergev($phids);
}
@@ -89,6 +93,12 @@
'');
}
+ $repo_phid = $revision->getRepositoryPHID();
+ if ($repo_phid) {
+ $repo = $this->handles[$repo_phid]->renderLink();
+ $item->addAttribute(pht('Repository: %s', $repo));
+ }
+
if ($revision->getHasDraft($viewer)) {
$icons['draft'] = true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 10:29 PM (3 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7235717
Default Alt Text
D18636.diff (1000 B)
Attached To
Mode
D18636: Add the repository name to revisions in Differential list view.
Attached
Detach File
Event Timeline
Log In to Comment