mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 22:10:54 +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:
parent
cc3641e633
commit
0718a413fd
2 changed files with 0 additions and 8 deletions
|
@ -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)) {
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue