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
F18632468: D8098.diff
Tue, Sep 16, 6:01 PM
F18623172: D8098.diff
Mon, Sep 15, 2:37 PM
F18623114: D8098.diff
Mon, Sep 15, 2:21 PM
F18623104: D8098.diff
Mon, Sep 15, 2:17 PM
F18557153: D8098.id.diff
Mon, Sep 8, 7:52 PM
F18551647: D8098.diff
Mon, Sep 8, 12:40 PM
F18513158: D8098.diff
Fri, Sep 5, 9:13 AM
F18106900: D8098.diff
Aug 10 2025, 11:30 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/".