]> khamidou — GitHub mirrors - arcanist.git/commit
Read 'phabricator.uri' and 'default' out of more config sources
authorepriestley <git@epriestley.com>
Tue, 13 May 2014 18:36:56 +0000 (11:36 -0700)
committerepriestley <git@epriestley.com>
Tue, 13 May 2014 18:36:56 +0000 (11:36 -0700)
commit85b6c581e11ba5794f93348fc7d093782142e7a6
tree7c4b0b6a92720fe500ea2eb7c5a12eae0ef8801c
parentd826bf65c620413ae6a2bd643a182cb4c337b27c
Read 'phabricator.uri' and 'default' out of more config sources

Summary: We have old/inconsistent code for reading these. Instead, read from sources in a modern way.

Test Plan:
  - Removed "default" and "phabricator.uri" from user/local/project config.
  - Set "default" in "/etc/arcconfig".
  - Ran `arc tasks` and got a "connect to Phabricator" message.

Reviewers: btrahan, davedash

Reviewed By: davedash

Subscribers: davedash, epriestley

Differential Revision: https://secure.phabricator.com/D9105
scripts/arcanist.php