@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorRepositoryDestructibleCodex
4 extends PhabricatorDestructibleCodex {
5
6 public function getDestructionNotes() {
7 $repository = $this->getObject();
8
9 $notes = array();
10
11 if ($repository->hasLocalWorkingCopy()) {
12 $notes[] = pht(
13 'Database records for repository "%s" were destroyed, but this '.
14 'script does not remove working copies on disk. If you also want to '.
15 'destroy the repository working copy, manually remove "%s".',
16 $repository->getDisplayName(),
17 $repository->getLocalPath());
18 }
19
20 return $notes;
21 }
22
23}