这是indexloc提供的服务,不要输入任何密码
Skip to content

Repository Tab says repo do not exist for third level sub projects. #5

@vbeltran

Description

@vbeltran

Hello,
I have been using Redmine+gitolite for several month without a problem. Project and sub projects works fine, but when I create a sub subproject the Repository Tab says repo do not exist. However the repo is already there because I can clone it using the developers url.

I have been trying to find the problem but I do not know enough Redmine/Ruby to solve it. It think that the problem is that for sub sub projects the expression "@repository.entries(@path, @Rev).blank" of the code below is true, but it should be false.

In file repositories_controller_patch.rb
def show_with_git_instructions
if @repository.is_a?(Repository::Git) and @repository.entries(@path, @Rev).blank?
render :action => 'git_instructions'
else
show_without_git_instructions
end
end

I have no idea of why it works for projects and sub projects, but it do not works for three level subprojects. Could you take a look at this issue?

Thanks in advance!

  • Vicenç

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions