Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionServeController.php
Show First 20 Lines • Show All 415 Lines • ▼ Show 20 Lines | if ($vcs_type != $req_type) { | ||||
500, | 500, | ||||
phutil_string_cast($caught->getMessage())); | phutil_string_cast($caught->getMessage())); | ||||
} | } | ||||
break; | break; | ||||
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: | case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: | ||||
$result = new PhabricatorVCSResponse( | $result = new PhabricatorVCSResponse( | ||||
500, | 500, | ||||
pht( | pht( | ||||
'Phabricator does not support HTTP access to Subversion '. | 'This server does not support HTTP access to Subversion '. | ||||
'repositories.')); | 'repositories.')); | ||||
break; | break; | ||||
default: | default: | ||||
$result = new PhabricatorVCSResponse( | $result = new PhabricatorVCSResponse( | ||||
500, | 500, | ||||
pht('Unknown version control system.')); | pht('Unknown version control system.')); | ||||
break; | break; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 871 Lines • Show Last 20 Lines |