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
F13199532: D8098.id18348.diff
Mon, May 13, 3:37 PM
F13199530: D8098.id18321.diff
Mon, May 13, 3:37 PM
F13199529: D8098.id18320.diff
Mon, May 13, 3:37 PM
F13199461: D8098.id.diff
Mon, May 13, 3:02 PM
F13199428: D8098.diff
Mon, May 13, 2:44 PM
Unknown Object (File)
Thu, Apr 25, 6:22 AM
Unknown Object (File)
Tue, Apr 23, 9:38 PM
Unknown Object (File)
Tue, Apr 23, 9:37 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

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