]> khamidou — GitHub mirrors - arcanist.git/commit
Remove call to "arcanist.projectinfo" from `arc export`
authorJoshua Spence <josh@joshuaspence.com>
Mon, 25 May 2015 08:31:09 +0000 (18:31 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 25 May 2015 08:31:09 +0000 (18:31 +1000)
commitbe9dd352be5844c1c171eef474379d3cb1725bfc
treeb0eec7ffb971e07521e93b8d7ca36658cd3a81b0
parent9b7c6786cdc9694b45907ecb46154befbd605a0d
Remove call to "arcanist.projectinfo" from `arc export`

Summary:
Ref T7604. Remove a call to `arcanist.projectinfo` from `arc export`. This Conduit call was only used to detect the repository encoding, which we should be able to do locally anyway.

I was considering removing the `$projectName` from `ArcanistBundle` as well, but I'm not convinved that this is a good idea. Specifically, doing so would make it difficult to issue the "This patch is for the 'X' project, but the working copy belongs to the 'Y' project" error. We could potentially use the repository callsign for this purposes, but this isn't portable across installs.

Test Plan: I'm not quite sure how to test this. I suspect that this functionality isn't widely used anyway.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7604

Differential Revision: https://secure.phabricator.com/D12962
src/parser/ArcanistBundle.php
src/workflow/ArcanistExportWorkflow.php
src/workflow/ArcanistWorkflow.php