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