Improve activate_namespace task to build missing dirs and moving repos correctly

This commit is contained in:
Dmitriy Zaporozhets 2012-11-25 18:24:27 +02:00
parent fbe03c506f
commit 04b51a2b89
2 changed files with 34 additions and 4 deletions

View file

@ -38,6 +38,12 @@ module Gitlab
config.admin_all_repo!
end
def update_repositories projects
config.apply do |config|
config.update_projects(projects)
end
end
alias_method :create_repository, :update_repository
end
end