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
F12838698: D8098.id18321.diff
Thu, Mar 28, 6:31 PM
Unknown Object (File)
Fri, Mar 22, 3:11 PM
Unknown Object (File)
Fri, Mar 22, 3:11 PM
Unknown Object (File)
Fri, Mar 22, 3:10 PM
Unknown Object (File)
Fri, Mar 22, 2:38 PM
Unknown Object (File)
Fri, Mar 22, 2:18 PM
Unknown Object (File)
Fri, Mar 15, 12:34 PM
Unknown Object (File)
Feb 13 2024, 5:48 AM
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/".