Skip to content

Can't open subrepos of repo repositories #96

@Damglador

Description

@Damglador

God, I love this naming /s. repo is a tool from Google: https://android.googlesource.com/tools/repo, used for Android kernel.

Subrepos of a repo repo have symlinks in place of .git, the symlinks lead to ../.repo/projects/<subrepo>. When I try to open such subrepo in gitfourchette I get

Operation failed: Loading repo.

ValueError: Won't resolve absolute path outside gitdir
If you want to file a bug report, please click “Show Details” and copy the entire message.

Traceback (most recent call last):
repotask.py:1086, in _getNextToken
    token = next(flow)
loadtasks.py:71, in flow
    repoModel = RepoModel(repo)
repomodel.py:194, in __init__
    self.syncRemotes()
    ~~~~~~~~~~~~~~~~^^
benchmark.py:79, in wrapper
    return func(*args, **kwargs)
repomodel.py:313, in syncRemotes
    remotes = self.repo.listall_remotes_fast()
porcelain.py:1437, in listall_remotes_fast
    config_path = self.in_gitdir("config", common=True)
porcelain.py:765, in in_gitdir
    raise ValueError("Won't resolve absolute path outside gitdir")
ValueError: Won't resolve absolute path outside gitdir

(as a side note, would be nice to have a button to copy the full error message)

I believe it worked in v1.5.0

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