svn-scm icon indicating copy to clipboard operation
svn-scm copied to clipboard

Repos in subdirectories are not detected

Open kkeri opened this issue 8 months ago • 1 comments

  • 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

kkeri avatar Jun 19 '24 15:06 kkeri