JohnstonCode / svn-scm

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

VSCode Freezes when file is saved #1611

Closed josephemorgan closed 6 months ago

josephemorgan commented 10 months ago

Type: Bug

Save a c# file

Vscode will freeze with a notification that says the file is saving. Will unfreeze if you cancel the save operation, but the file is still saved.

Extension version: 2.17.0 VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.76GB (20.29GB free)| |Process Argv|--crash-reporter-id 0ca3f427-aab5-4c5b-b043-89b5f1cceb7e| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30856252 vscaac:30438847 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 3biah626:30602489 f6dab269:30613381 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 f8hc8238:30694864 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 copilotsettingt:30859503 asynctok:30869155 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixtcf:30871695 pythonregdiag2:30871582 pyreplss1:30865275 pythoncet00cf:30874137 pythontbext0:30864172 ```
JexPY commented 9 months ago

VSCode hangs up until the SVN refresh icon disappears, and it is refreshing on anything, like searching through files and etc... very annoying. Loads the CPU like a crypto miner. Is not changing anything if:

"svn.autorefresh": false,

Only, helps:

"svn.enabled": false,
Model Name: MacBook Pro
Processor Name: 6-Core Intel Core i9
Processor Speed: 2,9 GHz
Memory: 16 GB