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(),