JohnstonCode / svn-scm

SVN support for VS Code
MIT License
208 stars 84 forks source link

Repos in subdirectories are not detected #1634

Open kkeri opened 2 months ago

kkeri commented 2 months ago

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