Skip to content

Switching to a branch on a nested repository opens a closed aliased top-level project #108

@gvl2023

Description

@gvl2023

Version

7.3.0

Operating System

Linux/Unix

Eclipse version

2025-06

Bug description

I have an out of workspace "main" project that contains several nested repositories. This I understand is a semi-supported configuration (the nested repositories part), and it tends to mostly work, except for some functionality notably the Synchronize View family of comparisons. To cope with this limitation I also maintain top-level "helper" projects that directly contain the nested repositories. I only use these projects when I need to run a Synchronize View comparison, such as Compare With/Branch, and normally keep them closed to conserve memory and avoid duplicate files in the workspace. Unfortunately whenever I switch between branches using nested folders/repositories in the main project these top-level aliased projects get opened as a side effect which leads to confusion later due to the aforementioned duplicated files now being present in the workspace. I have to remember to close them whenever I switch to another branch. Hope this makes sense.

The following is an attempt to illustrate my workspace setup and repository associations. project_foo and project_bar are the "helper" projects that are normally kept closed. Switching branches in foo_repo via folder_foo would open project_foo if it was previously closed as an undesirable side effect.

project_main [bogus_local_main_repo]
    folder_foo [foo_repo]
    folder_bar [bar_repo]
project_foo [foo_repo]
project_bar [bar_repo]

Actual behavior

Aliased project is opened.

Expected behavior

Aliased project should stay closed if it's closed.

Relevant log output

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions