Don't pull updates for repositories marked as hosted
Summary: - Don't try to pull hosted repos. - Also, fix the `--verbose` + `--trace` interaction for `bin/repository`. - Also, fix a couple of unit tests which got tweaked earlier. Test Plan: $ ./bin/repository pull GTEST --verbose Pulling 'GTEST'... Repository "GTEST" is hosted, so Phabricator does not pull updates for it. Done. Reviewers: btrahan, hach-que Reviewed By: hach-que CC: aran Maniphest Tasks: T2230 Differential Revision: https://secure.phabricator.com/D7427
This commit is contained in:
@@ -54,7 +54,8 @@ abstract class PhabricatorRepositoryEngine {
|
||||
if ($this->getVerbose()) {
|
||||
$console = PhutilConsole::getConsole();
|
||||
$argv = func_get_args();
|
||||
call_user_func_array(array($console, 'writeLog'), $argv);
|
||||
$argv[0] = $argv[0]."\n";
|
||||
call_user_func_array(array($console, 'writeOut'), $argv);
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user