]> khamidou — GitHub mirrors - arcanist.git/commit
Properly URL encode branches in `arc browse --branch ...`
authorepriestley <git@epriestley.com>
Fri, 4 Mar 2016 23:49:35 +0000 (15:49 -0800)
committerepriestley <git@epriestley.com>
Fri, 4 Mar 2016 23:52:58 +0000 (15:52 -0800)
commit3876d9358390ee9a6290689ca38d8a1e972233b8
tree4bc13bd8e180344947e0ed4974a233549a2256a7
parentb1de04aa68363e85336932b3b61a96fd9f907e0d
Properly URL encode branches in `arc browse --branch ...`

Summary: Fixes T10511. If you `arc browse --branch x/y/z`, we do not encode the URI properly.

Test Plan:
Ran `arc browse --branch x/y/z/ something.c`.

Before, got an error about "x" does not exist. This is wrong; the error should be about "x/y/z".

After, got the proper error:

{F1141096}

Reviewers: chad, avivey

Reviewed By: avivey

Maniphest Tasks: T10511

Differential Revision: https://secure.phabricator.com/D15397
src/workflow/ArcanistBrowseWorkflow.php