Skip to content

Commit

Permalink
fix a bug in new migration code
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpaulbishop committed Sep 4, 2011
1 parent 48c661c commit c750379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/2011081300000_create_git_repository_extras.rb
Expand Up @@ -34,7 +34,7 @@ def self.up
#update repo url to match location of gitolite repos
r = project.repository
repo_name= project.parent ? File.join(GitHosting::get_full_parent_path(project, true),project.identifier) : project.identifier
r.url = File.join(object.value['gitRepositoryBasePath'], "#{repo_name}.git")
r.url = File.join(Setting.plugin_redmine_git_hosting['gitRepositoryBasePath'], "#{repo_name}.git")
r.root_url = r.url
r.extra = e
r.save
Expand Down

0 comments on commit c750379

Please sign in to comment.