1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 14:00:55 +01:00

Remove "mercurial support is imaginary" warning from Arcanist

Summary: We ostensibly now support Mercurial at least mostly, so don't
underpromise quite so much.

Test Plan: Ran "arc diff" in a Mercurial working copy without being warned.

Reviewers: Makinde, jungejason, nh, tuomaspelkonen, aran

Reviewed By: Makinde

CC: aran, Makinde

Differential Revision: 1085
This commit is contained in:
epriestley 2011-11-06 17:56:13 -08:00
parent cc3641e633
commit 0718a413fd
2 changed files with 0 additions and 8 deletions

View file

@ -70,16 +70,9 @@ abstract class ArcanistRepositoryAPI {
}
if (Filesystem::pathExists($root.'/.hg')) {
// TODO: Stabilize and remove.
file_put_contents(
'php://stderr',
phutil_console_format(
"**WARNING:** Mercurial support is largely imaginary right now.\n"));
return newv('ArcanistMercurialAPI', array($root));
}
$git_root = self::discoverGitBaseDirectory($root);
if ($git_root) {
if (!Filesystem::pathsAreEquivalent($root, $git_root)) {

View file

@ -9,7 +9,6 @@
phutil_require_module('arcanist', 'exception/usage');
phutil_require_module('arcanist', 'workflow/exception/notsupported');
phutil_require_module('phutil', 'console');
phutil_require_module('phutil', 'filesystem');
phutil_require_module('phutil', 'future/exec');
phutil_require_module('phutil', 'utils');