Page MenuHomePhabricator

Properly URL encode branches in `arc browse --branch ...`
ClosedPublic

Authored by epriestley on Mar 4 2016, 11:51 PM.
Tags
None
Referenced Files
F13092218: D15397.diff
Thu, Apr 25, 3:30 AM
Unknown Object (File)
Fri, Apr 19, 4:16 PM
Unknown Object (File)
Thu, Apr 11, 4:08 AM
Unknown Object (File)
Sun, Mar 31, 12:16 PM
Unknown Object (File)
Mar 24 2024, 11:50 AM
Unknown Object (File)
Mar 14 2024, 4:12 AM
Unknown Object (File)
Mar 12 2024, 1:20 AM
Unknown Object (File)
Mar 5 2024, 7:23 PM
Subscribers
None

Details

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:

Screen Shot 2016-03-04 at 3.49.14 PM.png (775×1 px, 92 KB)

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Properly URL encode branches in `arc browse --branch ...`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
avivey added a reviewer: avivey.
This revision is now accepted and ready to land.Mar 4 2016, 11:52 PM
This revision was automatically updated to reflect the committed changes.