From 37a1db6fe1bdd145ef5b055bab6a6a9c7ad0db8b Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 27 Feb 2012 19:21:03 -0800 Subject: [PATCH] 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 --- .../repository/storage/repository/PhabricatorRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/repository/storage/repository/PhabricatorRepository.php b/src/applications/repository/storage/repository/PhabricatorRepository.php index 85017c7cf8..36b100aedd 100644 --- a/src/applications/repository/storage/repository/PhabricatorRepository.php +++ b/src/applications/repository/storage/repository/PhabricatorRepository.php @@ -263,7 +263,7 @@ class PhabricatorRepository extends PhabricatorRepositoryDAO { array_unshift($args, $this->getLocalPath()); break; case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: - $pattern = "(cd %s && hg {$pattern})"; + $pattern = "(cd %s && HGPLAIN=1 hg {$pattern})"; array_unshift($args, $this->getLocalPath()); break; default: