Skip to content
Snippets Groups Projects
Commit 2e8db0df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #2932 from escaped/repo-import-4.1-fix

Repo import 4.1 fix (empty repositories)
parents 0ac9dd32 09d97732
No related branches found
No related tags found
2 merge requests!3014Fix 4.1 Installation Doc wording,!2983Fixed typo in gitlab.yml.example
Loading
Loading
@@ -42,9 +42,10 @@ namespace :gitlab do
 
project_params = {
:name => path,
:namespace_id => Namespace.global_id,
}
 
project = Project.create_by_user(project_params, user)
project = Projects::CreateContext.new(user, project_params).execute
 
if project.valid?
puts " * Created #{project.name} (#{repo_name})".green
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment