Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repos in subdirectories are not detected #1634

Open
kkeri opened this issue Jun 19, 2024 · 1 comment
Open

Repos in subdirectories are not detected #1634

kkeri opened this issue Jun 19, 2024 · 1 comment

Comments

@kkeri
Copy link

kkeri commented Jun 19, 2024

  • 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

@MThogersen
Copy link

MThogersen commented Sep 18, 2024

I second this. I have a local checkout of a repository open as my root folder in VS code. In one of the subfolders of this repository, I have other repositories checked out and for some reason only the first one (in alphabetical order) is detected.
I can add it manually in the SVN view, however, it is never propagated to the VS code source control view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants