Page MenuHomePhabricator

Produce a more tailored checkout URI for Subversion
ClosedPublic

Authored by epriestley on Feb 28 2014, 8:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 4:45 AM
Unknown Object (File)
Fri, Jan 3, 4:45 AM
Unknown Object (File)
Sun, Dec 29, 11:56 PM
Unknown Object (File)
Tue, Dec 24, 9:43 PM
Unknown Object (File)
Dec 20 2024, 12:46 PM
Unknown Object (File)
Dec 15 2024, 6:37 AM
Unknown Object (File)
Dec 13 2024, 2:43 PM
Unknown Object (File)
Dec 7 2024, 6:54 AM
Subscribers

Details

Summary

For imported SVN repositories with an "Import Only" path, we produce a /path/to/root/ URI, but should produce /path/to/root/then/to/import/only/.

As it is, the URI instructs the user to check out the whole repository.

Also, don't show the "Clone As" fragment in the URI for remote repositories, and prevent it from being edited for nonhosted repositories. This is generally more consistent with user expectation.

Test Plan
  • Created a remote SVN repository with "Import Only", saw path include it.
  • Verified no "Clone As" options, no "Clone As" in URI.
  • Switched it to hosted, saw "Clone As" options appear and work properly.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan edited edge metadata.
This revision is now accepted and ready to land.Feb 28 2014, 9:04 PM
epriestley updated this revision to Unknown Object (????).Feb 28 2014, 9:04 PM
  • Add a unit test, since we have coverage on this stuff.