mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 05:42: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:
parent
e75b389cff
commit
de73029e99
1 changed files with 3 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue