]> khamidou — GitHub mirrors - arcanist.git/commit
Disable color extensions in Mercurial
authorepriestley <git@epriestley.com>
Fri, 4 Nov 2011 20:33:08 +0000 (13:33 -0700)
committerepriestley <git@epriestley.com>
Fri, 4 Nov 2011 22:21:57 +0000 (15:21 -0700)
commit42b69af59b75b97704ca11ce4c325be68b538262
tree866759cf28177ccc4b44b7821152a574842bbe4f
parent5150252f9138e9970de5b9fb1ad9d9e000758532
Disable color extensions in Mercurial

Summary: Mercurial has a --color flag which disables the use of ANSI colors. Use
it to prevent "hg diff" from giving us colorized diff output.

Test Plan: Ran "hg diff --color never", verified it disabled ANSI color in diff
output.

Reviewers: Makinde, jungejason, nh, tuomaspelkonen, aran

Reviewed By: aran

CC: aran
Differential Revision: 1079
src/repository/api/mercurial/ArcanistMercurialAPI.php