3 final class PhabricatorRepositorySVNSubpathTransaction
4 extends PhabricatorRepositoryTransactionType
{
6 const TRANSACTIONTYPE
= 'repo:svn-subpath';
8 public function generateOldValue($object) {
9 return $object->getDetail('svn-subpath');
12 public function applyInternalEffects($object, $value) {
13 $object->setDetail('svn-subpath', $value);
16 public function getTitle() {
17 $old = $this->getOldValue();
18 $new = $this->getNewValue();
22 '%s removed %s as the "Import Only" path.',
23 $this->renderAuthor(),
24 $this->renderOldValue());
25 } else if (!strlen($old)) {
27 '%s set the repository "Import Only" path to %s.',
28 $this->renderAuthor(),
29 $this->renderNewValue());
32 '%s changed the "Import Only" path from %s to %s.',
33 $this->renderAuthor(),
34 $this->renderOldValue(),
35 $this->renderNewValue());