mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-01 19:22:41 +01:00
d016f81135
Summary: We added "repeat" to PhutilArgumentParser a while ago, so we can modernize the rest of the argument parsing (allow multiple --load-phutil-library flags). Add a "--conduit-timeout" flag to allow users to set the timeout. See D2602. Test Plan: $ arc diff --conduit-timeout=0.01 Exception [cURL/28] <CURLE_OPERATION_TIMEOUTED> The request took too long to complete. (Run with --trace for a full exception trace.) $ arc diff --conduit-version 33 Exception ERR-BAD-VERSION: Your 'arc' client version is '33', which is newer than the server version, '5'. Upgrade your Phabricator install. (Run with --trace for a full exception trace.) $ arc diff --conduit-uri http://derp.derp/ Usage Exception: YOU NEED TO INSTALL A CERTIFICATE TO LOGIN TO PHABRICATOR You are trying to connect to 'http://derp.derp/api/' but do not have a certificate installed for this host. Run: $ arc install-certificate ...to install one. $ arc diff --load-phutil-library src --load-phutil-library ../phabricator/src --trace Loading phutil library '0' from '/INSECURE/devtools/arcanist/src'... Loading phutil library '1' from '/INSECURE/devtools/phabricator/src'... Reviewers: phleet, vrana, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D2603 |
||
---|---|---|
.. | ||
exception | ||
ArcanistAliasWorkflow.php | ||
ArcanistAmendWorkflow.php | ||
ArcanistBaseWorkflow.php | ||
ArcanistBranchWorkflow.php | ||
ArcanistCallConduitWorkflow.php | ||
ArcanistCloseRevisionWorkflow.php | ||
ArcanistCloseWorkflow.php | ||
ArcanistCommitWorkflow.php | ||
ArcanistCoverWorkflow.php | ||
ArcanistDiffWorkflow.php | ||
ArcanistDownloadWorkflow.php | ||
ArcanistExportWorkflow.php | ||
ArcanistGetConfigWorkflow.php | ||
ArcanistGitHookPreReceiveWorkflow.php | ||
ArcanistHelpWorkflow.php | ||
ArcanistInstallCertificateWorkflow.php | ||
ArcanistLandWorkflow.php | ||
ArcanistLiberateWorkflow.php | ||
ArcanistLintWorkflow.php | ||
ArcanistListWorkflow.php | ||
ArcanistMarkCommittedWorkflow.php | ||
ArcanistPasteWorkflow.php | ||
ArcanistPatchWorkflow.php | ||
ArcanistSetConfigWorkflow.php | ||
ArcanistShellCompleteWorkflow.php | ||
ArcanistSvnHookPreCommitWorkflow.php | ||
ArcanistTasksWorkflow.php | ||
ArcanistUnitWorkflow.php | ||
ArcanistUpgradeWorkflow.php | ||
ArcanistUploadWorkflow.php | ||
ArcanistWhichWorkflow.php |