]> khamidou — GitHub mirrors - arcanist.git/commit
Make --conduit-token work without requiring .arcrc
authorepriestley <git@epriestley.com>
Thu, 7 May 2015 18:09:58 +0000 (11:09 -0700)
committerepriestley <git@epriestley.com>
Thu, 7 May 2015 18:09:58 +0000 (11:09 -0700)
commit6c5d12d839930a494c9a760699f8530b9cf5e235
tree92dc956ced05f5a3a87437272f6395dea5e5a177
parent3e36b3fc430d227d6bd7d478bb4713c567e5086c
Make --conduit-token work without requiring .arcrc

Summary:
Ref T5955. This logic is a little cleaner than the previous version.

Don't require `~/.arcrc` to exist if the caller provides `--conduit-token`.

Test Plan:
  - Made calls with `--conduit-token` and no `~/.arcrc`.
  - Made calls with `--conduit-token` and a normal `~/.arcrc`.
  - Made calls with normal `arc`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: mbishopim3, epriestley

Maniphest Tasks: T5955

Differential Revision: https://secure.phabricator.com/D12750
scripts/arcanist.php
src/workflow/ArcanistWorkflow.php