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
Unknown Object (File)
May 20 2025, 6:03 PM
Unknown Object (File)
May 19 2025, 5:39 PM
Unknown Object (File)
May 18 2025, 12:49 PM
Unknown Object (File)
May 8 2025, 5:20 AM
Unknown Object (File)
Apr 24 2025, 2:36 PM
Unknown Object (File)
Apr 21 2025, 4:25 PM
Unknown Object (File)
Apr 8 2025, 5:07 AM
Unknown Object (File)
Apr 3 2025, 9:14 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

Repository
rP Phabricator
Branch
ruri3
Lint
Lint Passed
Unit
Tests Passed

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/".