mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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:
parent
d625f94c55
commit
4f365e1527
1 changed files with 3 additions and 2 deletions
|
@ -405,8 +405,9 @@ class PhabricatorRepositoryEditController
|
|||
if ($is_git) {
|
||||
$instructions =
|
||||
'Enter the URI to clone this repository from. It should look like '.
|
||||
'<tt>git@github.com:example/example.git</tt> or '.
|
||||
'<tt>ssh://user@host.com/git/example.git</tt>';
|
||||
'<tt>git@github.com:example/example.git</tt>, '.
|
||||
'<tt>ssh://user@host.com/git/example.git</tt>, or '.
|
||||
'<tt>file:///local/path/to/repo</tt>';
|
||||
} else if ($is_mercurial) {
|
||||
$instructions =
|
||||
'Enter the URI to clone this repository from. It should look '.
|
||||
|
|
Loading…
Reference in a new issue