Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / repository / config / PhabricatorRepositoryConfigOptions.php
blob26e0e9d5d11d8dd341be392995aece4e915000bf
1 <?php
3 final class PhabricatorRepositoryConfigOptions
4 extends PhabricatorApplicationConfigOptions {
6 public function getName() {
7 return pht('Repositories');
10 public function getDescription() {
11 return pht('Configure repositories.');
14 public function getIcon() {
15 return 'fa-hdd-o';
18 public function getGroup() {
19 return 'apps';
22 public function getOptions() {
23 return array(
24 $this->newOption('repository.default-local-path', 'string', '/var/repo/')
25 ->setLocked(true)
26 ->setSummary(
27 pht('Default location to store local copies of repositories.'))
28 ->setDescription(
29 pht(
30 'The default location in which to store working copies and other '.
31 'data about repositories. Phabricator will control and manage '.
32 'data here, so you should **not** choose an existing directory '.
33 'full of data you care about.')),