JohnstonCode / svn-scm

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

Remote (ssh) connection resets frequently when svn view is opened #1556

Closed diptopandit closed 8 months ago

diptopandit commented 2 years ago

Issue

When the svn any of the view is opened in sidebar, the ssh connection to remote workspace disconnects. VSCode prompts to reload the window, and after reloading it disconnects again if the SVN view is still open.

Steps to Reproduce

  1. Open any remote (ssh) workspace in VSCode
  2. Open the SVN view in side bar. - in few second VSCode will prompt to reload the window.
  3. Reload the window, keeping the SVN view open. the remote connection is established and disconnects quickly, going back to step 2.
  4. Reload the window again and quickly switch to different view (file explorer for example). The remote connection establishes and is stable now.

    SVN Output

    Using svn "1.10.2" from "svn"
    [xxxx]$ svn info --xml /b/workspace/sandboxes/.../xxxx.h
    [xxxx]$ svn info --xml
    [yyyy]$ svn stat --xml --no-ignore --ignore-externals --show-updates
    [xxxx]$ svn stat --xml --no-ignore --ignore-externals --show-updates
    [xxxx]$ svn cat xxxx.h
    [xxxx]$ svn list /b/workspace/sandboxes/.../xxxx.h --xml
    [xxxx]$ svn stat --xml --no-ignore --ignore-externals
    [yyyy]$ svn stat --xml --no-ignore --ignore-externals --show-updates
    [yyyy]$ svn info --xml
    [xxxx]$ svn stat --xml --no-ignore --ignore-externals --show-updates
    [xxxx]$ svn info --xml

Screenshots

Screenshot 2021-12-27 at 12 29 56 PM