From c8529787f34558fa7fa46700977a4248450efffe Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 30 Mar 2015 13:02:43 -0700 Subject: [PATCH] Provide TERM=dumb for Mercurial commit hooks Summary: Fixes T7119. Test Plan: Will make someone test. Reviewers: btrahan Reviewed By: btrahan Subscribers: cspeckmim, epriestley Maniphest Tasks: T7119 Differential Revision: https://secure.phabricator.com/D12182 --- .../repository/engine/PhabricatorRepositoryPullEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php index 72c3b1f4d0..ffbbc7034b 100644 --- a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php +++ b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php @@ -493,14 +493,14 @@ final class PhabricatorRepositoryPullEngine // This hook handles normal pushes. $data[] = csprintf( - 'pretxnchangegroup.phabricator = %s %s %s', + 'pretxnchangegroup.phabricator = TERM=dumb %s %s %s', $bin, $identifier, 'pretxnchangegroup'); // This one handles creating bookmarks. $data[] = csprintf( - 'prepushkey.phabricator = %s %s %s', + 'prepushkey.phabricator = TERM=dumb %s %s %s', $bin, $identifier, 'prepushkey');