]> khamidou — GitHub mirrors - arcanist.git/commit
Fix two arc issues
authorepriestley <git@epriestley.com>
Sat, 20 Oct 2012 13:13:12 +0000 (06:13 -0700)
committerepriestley <git@epriestley.com>
Sat, 20 Oct 2012 13:13:12 +0000 (06:13 -0700)
commit7cb3551dc7e3e8e675a32c7ad077cde759183f7d
tree178f831c87c5cb01a94b18ebdf6076a8429cf503
parent3853483c64c58c073cd36f546fb58dd5d2b1bf8d
Fix two arc issues

Summary:
  - I caused $parser to be reused in D3732 which I belived was safe, but actually isn't. We end up writing to the same changes. We should make it safe but there's some mess in Phabricator that needs to be cleaned up first.
  - One minor error code thing, variable is undefined.

Test Plan: Ran `arc export --git` on a moved file, got a better result. Ran some command which made me hit the other case and didn't get a fatal anymore.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D3749
src/parser/ArcanistDiffParser.php
src/workflow/ArcanistDiffWorkflow.php