Page MenuHomePhabricator

Allow Git and Mercurial repositories to be cloned with names in the URI
ClosedPublic

Authored by epriestley on Jan 29 2014, 9:46 PM.
Tags
None
Referenced Files
F14481822: D8098.diff
Mon, Dec 30, 5:33 AM
Unknown Object (File)
Wed, Dec 11, 4:42 PM
Unknown Object (File)
Nov 10 2024, 6:09 AM
Unknown Object (File)
Oct 23 2024, 11:28 AM
Unknown Object (File)
Oct 23 2024, 7:16 AM
Unknown Object (File)
Oct 18 2024, 7:29 AM
Unknown Object (File)
Oct 17 2024, 3:41 PM
Unknown Object (File)
Oct 11 2024, 4:02 PM
Subscribers

Details

Summary

Ref T4175. This allows these URIs to all be valid for Git and Mercurial:

/diffusion/X/
/diffusion/X/anything.git
/diffusion/X/anything/

This mostly already works, it just needed a few tweaks.

Test Plan

Cloned git and hg working copies using HTTP and SSH.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Jan 29 2014, 10:01 PM
  • When the user visits "/diffusion/X/anything.git" in their browser, redirect them back to "/diffusion/X/".