]> khamidou — GitHub mirrors - arcanist.git/commit
Detect library conflicts in Arcanist and raise a very specific error message
authorepriestley <git@epriestley.com>
Thu, 19 May 2011 17:13:44 +0000 (10:13 -0700)
committerepriestley <git@epriestley.com>
Thu, 19 May 2011 18:32:53 +0000 (11:32 -0700)
commit7e4bde114e9fa2890a15e2684c861eaf2ad6daa3
tree4ed4707379f0234d003fd3c9272d5ddae4a0608c
parent292c995d573e236c61099235cc3af31527c60f6f
Detect library conflicts in Arcanist and raise a very specific error message

Summary:
When you run one copy of arcanist against another copy, you previously got a
meaningless error. After D311 you get a slightly more meaningful error.

Capture the new exception and raise an extremely specific error.

NOTE: Adding arcanist to .arcconfig forces the library conflict error to
trigger; otherwise there's just an implicit conflict because 'arc' reads the
running-copy library amp instead of the working-copy library map. This only
worked before because arcanist includes itself.

Test Plan:
Ran arcanist on a different copy of arcanist, got a good error message.

Reviewed By: jungejason
Reviewers: jungejason, tuomaspelkonen, aran
CC: aran, jungejason, epriestley
Differential Revision: 312
.arcconfig
scripts/arcanist.php