]> khamidou — GitHub mirrors - arcanist.git/commit
Throw a helpful message when users run "arc diff --raw --update".
authorepriestley <git@epriestley.com>
Tue, 20 Mar 2012 02:15:58 +0000 (19:15 -0700)
committerepriestley <git@epriestley.com>
Tue, 20 Mar 2012 02:15:58 +0000 (19:15 -0700)
commitd516f39bf35d7311d336a809deda9a4501a3a3e7
tree9cf334563391af56e413b5a12911b56cd22185d5
parent4e888458d70a520a2bf8ca6ea6a4c743761c56cb
Throw a helpful message when users run "arc diff --raw --update".

Summary: We crash and burn right now, trying to launch an interactive editor against a non-tty stdin. Raise a helpful error message instead.

Test Plan: Will run "arc diff --raw --update".

Reviewers: btrahan, yairlivne

Reviewed By: btrahan

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1949
src/workflow/diff/ArcanistDiffWorkflow.php