From e9deb1ee874e6846e94aa0045842606e5aae8dcb Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 5 Apr 2017 12:04:50 +0200 Subject: [PATCH] repository: added better instructions for importing repositories --- rhodecode/templates/admin/repos/repo_add_base.mako | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/rhodecode/templates/admin/repos/repo_add_base.mako b/rhodecode/templates/admin/repos/repo_add_base.mako index 0bffddae..a664aceb 100644 --- a/rhodecode/templates/admin/repos/repo_add_base.mako +++ b/rhodecode/templates/admin/repos/repo_add_base.mako @@ -24,7 +24,18 @@ ${h.secure_form(url('repos'))}
${h.text('clone_uri', class_="medium")} - ${_('Optional http[s] URL from which to clone a repository.')} + +
+- The repository must be accessible over http:// or https://
+- For Git projects it's recommended appending .git to the end of clone url.
+- Make sure to select proper repository type from the below selector before importing it.
+- If your HTTP[S] repository is not publicly accessible,
+  add authentication information to the URL: https://username:password@server.company.com/repo-name.
+- The Git LFS/Mercurial Largefiles objects will not be imported.
+- For very large repositories, it's recommended to manually copy them into the
+  RhodeCode storage location and run Remap and Rescan.
+                    
+