Homec4science

Distinguish between "Remote URI" and "Clone URI" in Repositories

Authored by epriestley <git@epriestley.com> on Jan 30 2014, 20:41.

Description

Distinguish between "Remote URI" and "Clone URI" in Repositories

Summary:
Hosted repositories have muddied this distinction somewhat. In some cases, we only want to use the real remote URI, and the call is only relevant for imported repositories.

In other cases, we want the URI we'd plug into git clone.

Move this logic into PhabricatorRepository and make the distinction more clear.

Test Plan: Viewed SVN, Git, and Mercurial hosted and remote repositories, all the URIs looked reasonable.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, dctrwatson

Differential Revision: https://secure.phabricator.com/D8096

Details

Committed
epriestley <git@epriestley.com>Jan 30 2014, 20:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf585f6fddd5e: Enable "Allow Dangerous Changes" config for Mercurial repositories
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH96dd530c4472: Distinguish between "Remote URI" and "Clone URI" in Repositories (authored by epriestley <git@epriestley.com>).Jan 30 2014, 20:41