Update import.rake
Output a message when a repo is skipped
This commit is contained in:
parent
e95a8e1500
commit
ae5381f2cc
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,10 @@ namespace :gitlab do
|
|||
group_name = nil if group_name == '.'
|
||||
|
||||
# Skip if group or user
|
||||
next if namespaces.include?(name)
|
||||
if namespaces.include?(name)
|
||||
puts "Skipping #{project.name} due to namespace conflict with group or user".yellow
|
||||
next
|
||||
end
|
||||
|
||||
puts "Processing #{repo_path}".yellow
|
||||
|
||||
|
|
Loading…
Reference in a new issue