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
F19078181: D8098.id.diff
Mon, Dec 1, 5:20 PM
F19069177: D8098.diff
Sun, Nov 30, 1:12 PM
F18949783: D8098.diff
Nov 12 2025, 1:26 AM
F18846342: D8098.id.diff
Oct 29 2025, 6:38 PM
F18842016: D8098.diff
Oct 28 2025, 12:53 PM
F18809365: D8098.diff
Oct 19 2025, 1:20 PM
F18804240: D8098.id18348.diff
Oct 18 2025, 6:58 AM
F18773906: D8098.id.diff
Oct 9 2025, 1:31 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/".