1
0
Fork 0
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:
epriestley 2012-02-27 19:21:03 -08:00
parent 800aa92fd9
commit 37a1db6fe1

View file

@ -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: