Skip to content

Repos in subdirectories are not detected #1634

Open
@kkeri

Description

@kkeri
  • VSCode Version: 1.90.0
  • OS Version: Ubuntu 22.04
  • Extension Version: v2.17.0
  • System Language: English
  • SVN Version: 1.14.1 (r1886195)

Issue

When I open a directory in VS Code with multiple subdirectories, with a repo in each subdir, the extension fails to detect any repos. It happens very often. But, If I do svn up in a subdirectory, the repo in that subdirectory is immediately detected by the extension.

Steps to Reproduce

  1. Open a directory with multiple subdirectories, with an SVN repo in each subdirectory.
  2. Observe that the extension does not detect any repos.
  3. In a terminal, enter svn up in one of the subdirectories.
  4. The repo in question is detected by the extension.

SVN Output

Before svn up:

Using svn "1.14.1" from "svn"

After cd xxx-admin/trunk && svn up:

[]$ svn info --xml
[]$ svn info --xml
[]$ svn info --xml /home/kalman/work/xxx/xxx-admin/
[]$ svn info --xml /home/kalman/work/xxx/xxx-admin/trunk/webclient/src/common/
[]$ svn stat --xml --no-ignore --ignore-externals
[]$ svn info --xml trunk/webclient/src/common
[]$ svn info --xml
[]$ svn stat --xml --no-ignore --ignore-externals
[]$ svn info --xml
[common]$ svn info --xml
[common]$ svn info --xml /home/kalman/work/xxx/xxx-admin/trunk/webclient/src/common
[common]$ svn stat --xml --no-ignore --ignore-externals
[common]$ svn info --xml
[]$ svn stat --xml --no-ignore --ignore-externals --show-updates
[]$ svn stat --xml --no-ignore --ignore-externals --show-updates
[common]$ svn stat --xml --no-ignore --ignore-externals --show-updates```

Screenshots

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