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
F15334041: D8098.id18320.diff
Sat, Mar 8, 6:24 AM
F15292516: D8098.diff
Wed, Mar 5, 2:26 AM
F15289468: D8098.id18321.diff
Tue, Mar 4, 9:54 PM
F15287815: D8098.id18348.diff
Tue, Mar 4, 8:03 PM
Unknown Object (File)
Sun, Feb 16, 5:41 AM
Unknown Object (File)
Wed, Feb 12, 3:44 PM
Unknown Object (File)
Sun, Feb 9, 11:18 AM
Unknown Object (File)
Sun, Feb 9, 11:18 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/".