Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-13 01:26:37 +0300
committerStan Hu <stanhu@gmail.com>2018-07-13 01:26:37 +0300
commitf85712fb9814170aac631c7c24ca287fe5a0eb04 (patch)
treec836ab64e01b11483e4c2fa5d5e10af37eec25b1 /lib/gitlab/bitbucket_server_import
parentfd2c27ac557e295765bf1c99b416a72ffdd71359 (diff)
Use browse URL of project to link imports
Diffstat (limited to 'lib/gitlab/bitbucket_server_import')
-rw-r--r--lib/gitlab/bitbucket_server_import/project_creator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_server_import/project_creator.rb b/lib/gitlab/bitbucket_server_import/project_creator.rb
index 031ae29120d..49b81b24856 100644
--- a/lib/gitlab/bitbucket_server_import/project_creator.rb
+++ b/lib/gitlab/bitbucket_server_import/project_creator.rb
@@ -22,7 +22,7 @@ module Gitlab
namespace_id: namespace.id,
visibility_level: repo.visibility_level,
import_type: 'bitbucket_server',
- import_source: repo.full_name,
+ import_source: repo.browse_url,
import_url: repo.clone_url,
import_data: {
credentials: session_data,