Page MenuHomePhorge

D25094.1734741083.diff
No OneTemporary

D25094.1734741083.diff

diff --git a/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php b/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
--- a/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
+++ b/src/applications/differential/xaction/DifferentialRevisionTitleTransaction.php
@@ -23,6 +23,18 @@
}
public function getTitleForFeed() {
+ $obj = $this->getObject();
+
+ // Avoid potentially very long repetition in the Feed such as:
+ // "Alice bla bla: retitled from Poldo to Alice bla bla"
+ if ($obj && $obj->getTitle() === $this->getNewValue()) {
+ return pht(
+ '%s retitled %s from %s',
+ $this->renderAuthor(),
+ $this->renderObject(),
+ $this->renderOldValue());
+ }
+
return pht(
'%s retitled %s from %s to %s.',
$this->renderAuthor(),

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 00:31 (15 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021368
Default Alt Text
D25094.1734741083.diff (886 B)

Event Timeline