"Create Pull Request" does not work with a Gitlab project nested inside multiple levels of groups

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.1.0
    • Component/s: GitLab
    • None
    • Severity 2 - Major

      Gitlab allows to nest groups, e.g.: www.gitlab.com.at/company/subgroup/subsubgroup/project

      SourceTree seems to not be able to cope with that (probably because Github does not support such nesting, and Gitlab support in SourceTree builds on top of the Github feature)

      When checking out such a project, SourceTree writes into the .git/sourcetreeconfig file this config:

      remoteProjectLink0.identifier=subsubgroup/project
      

      When executing "Create Pull Request" in SourceTree, it tries to open https://www.gitlab.com/subsubgroup/project/-/merge_requests/new?... which of course does not exist and show a 404 page.

      Even when modifying the .git/sourcetreeconfig config to point to the correct project path company/subgroup/subsubgroup/project (and then restarting SourceTree), it does not work, then the "Create Pull Request" action will just do nothing. So SourceTree cannot cope with multiple group levels.

      We use a self-hosted version of Gitlab, but I guess the issue should affect gitlab.com too.

            Assignee:
            Pratap Guvvala
            Reporter:
            Fabian E.
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: