1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Propagate PHABRICATOR_ENV into VCS commands explicitly

Summary: Fixes T4155. See discussion in T4155.

Test Plan: @mbishopim3 confirmed this fixes his issue.

Reviewers: btrahan, chad

Reviewed By: chad

CC: mbishopim3, aran

Maniphest Tasks: T4155

Differential Revision: https://secure.phabricator.com/D7646
This commit is contained in:
epriestley 2013-11-24 18:11:56 -08:00
parent e75b389cff
commit de73029e99

View file

@ -298,6 +298,9 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
// This makes stuff print in English instead of, e.g., French, so we can // This makes stuff print in English instead of, e.g., French, so we can
// parse the output of some commands, error messages, etc. // parse the output of some commands, error messages, etc.
'LANG' => 'C', 'LANG' => 'C',
// Propagate PHABRICATOR_ENV explicitly. For discussion, see T4155.
'PHABRICATOR_ENV' => PhabricatorEnv::getSelectedEnvironmentName(),
); );
switch ($this->getVersionControlSystem()) { switch ($this->getVersionControlSystem()) {