1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00

Clarify instructions for repository remote uri

Summary:
Clarified the instructions when editing a repository for the remote uri to
mention that a local path for the remote uri must be specified as
file:///local/path/to/repo instead of /local/path/to/repo. (The latter used to
work, but stopped functioning for new repositories as of D888.)

Test Plan:
loaded /repository/edit/NN/tracking (where NN is a repo number), and saw the
updated instruction message.

Reviewers: jungejason, epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: 1005
This commit is contained in:
Nicholas Harper 2011-10-12 11:36:43 -07:00
parent d625f94c55
commit 4f365e1527

View file

@ -405,8 +405,9 @@ class PhabricatorRepositoryEditController
if ($is_git) { if ($is_git) {
$instructions = $instructions =
'Enter the URI to clone this repository from. It should look like '. 'Enter the URI to clone this repository from. It should look like '.
'<tt>git@github.com:example/example.git</tt> or '. '<tt>git@github.com:example/example.git</tt>, '.
'<tt>ssh://user@host.com/git/example.git</tt>'; '<tt>ssh://user@host.com/git/example.git</tt>, or '.
'<tt>file:///local/path/to/repo</tt>';
} else if ($is_mercurial) { } else if ($is_mercurial) {
$instructions = $instructions =
'Enter the URI to clone this repository from. It should look '. 'Enter the URI to clone this repository from. It should look '.