mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 02:31:10 +01:00
Use HGPLAIN for local hg commands in Phabricator
Summary: See D1707 -- just in case the Phabricator server is configured suspiciously. Test Plan: Cursory inspection. Reviewers: Makinde, btrahan Reviewed By: Makinde CC: aran, epriestley Maniphest Tasks: T922 Differential Revision: https://secure.phabricator.com/D1708
This commit is contained in:
parent
800aa92fd9
commit
37a1db6fe1
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO {
|
||||||
array_unshift($args, $this->getLocalPath());
|
array_unshift($args, $this->getLocalPath());
|
||||||
break;
|
break;
|
||||||
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL:
|
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL:
|
||||||
$pattern = "(cd %s && hg {$pattern})";
|
$pattern = "(cd %s && HGPLAIN=1 hg {$pattern})";
|
||||||
array_unshift($args, $this->getLocalPath());
|
array_unshift($args, $this->getLocalPath());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue