Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorBinariesSetupCheck.php
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | foreach ($vcses as $vcs) { | ||||
'= 1.7.1' => pht( | '= 1.7.1' => pht( | ||||
'This version of Subversion has a bug where `%s` does not work '. | 'This version of Subversion has a bug where `%s` does not work '. | ||||
'for files added in rN (Subversion issue #2873), fixed in 1.7.2.', | 'for files added in rN (Subversion issue #2873), fixed in 1.7.2.', | ||||
'svn diff -c N'), | 'svn diff -c N'), | ||||
); | ); | ||||
break; | break; | ||||
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: | case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: | ||||
$bad_versions = array( | $bad_versions = array( | ||||
// We need 1.9 for HTTP cloning, see T3046. | // We need 2.4 for utilizing `{p1node}` keyword in templates, see | ||||
'< 1.9' => pht( | // D21679 and D21681. | ||||
'The minimum supported version of Mercurial is 1.9, which was '. | '< 2.4' => pht( | ||||
'released in 2011.'), | 'The minimum supported version of Mercurial is 2.4, which was '. | ||||
'= 2.1' => pht( | 'released in 2012.'), | ||||
'This version of Mercurial returns a bad exit code '. | |||||
'after a successful pull.'), | |||||
'= 2.2' => pht( | |||||
'This version of Mercurial has a significant memory leak, fixed '. | |||||
'in 2.2.1. Pushing fails with this version as well; see %s.', | |||||
'T3046#54922'), | |||||
); | ); | ||||
break; | break; | ||||
} | } | ||||
if ($version === null) { | if ($version === null) { | ||||
$this->raiseUnknownVersionWarning($binary); | $this->raiseUnknownVersionWarning($binary); | ||||
} else { | } else { | ||||
$version_details = array(); | $version_details = array(); | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |