Differential D20210 Diff 48255 src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
Show First 20 Lines • Show All 438 Lines • ▼ Show 20 Lines | if (!$is_cluster) { | ||||
break; | break; | ||||
} | } | ||||
} | } | ||||
if (!$in_path) { | if (!$in_path) { | ||||
$view->addItem( | $view->addItem( | ||||
id(new PHUIStatusItemView()) | id(new PHUIStatusItemView()) | ||||
->setIcon(PHUIStatusItemView::ICON_WARNING, 'red') | ->setIcon(PHUIStatusItemView::ICON_WARNING, 'red') | ||||
->setTarget( | ->setTarget( | ||||
pht('Missing Binary %s', phutil_tag('tt', array(), $binary))) | pht('Commit Hooks: %s', phutil_tag('tt', array(), $binary))) | ||||
->setNote(pht( | ->setNote( | ||||
'Unable to find this binary in `%s`. '. | pht( | ||||
'You need to configure %s and include %s.', | 'The directory containing the "svnlook" binary is not '. | ||||
'environment.append-paths', | 'listed in "environment.append-paths", so commit hooks '. | ||||
$this->getEnvConfigLink(), | '(which execute with an empty "PATH") will not be able to '. | ||||
$path))); | 'find "svnlook". Add `%s` to %s.', | ||||
$path, | |||||
$this->getEnvConfigLink()))); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | } | ||||
$doc_href = PhabricatorEnv::getDoclink('Managing Daemons with phd'); | $doc_href = PhabricatorEnv::getDoclink('Managing Daemons with phd'); | ||||
$daemon_instructions = pht( | $daemon_instructions = pht( | ||||
▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines |