Skip to content

Source Control Provider tab duplicates an external when saving files. #184

@Arwalk

Description

@Arwalk
  • VSCode Version: 1.20.1
  • OS Version: Ubuntu 14.04
  • Extension Version: 1.20
  • System Language: English
  • SVN Version: 1.8.8

Issue

The repository i work with heavily uses externals. Since the latest VSCode update, every time i save a file, the first recognized external is duplicated in the Source Control Provider tab.
Example. If i do a fresh checkout, my Source Control Providers will look like this:


main repo
external 1
external 2
external 3
external 4

As soon as i modify and save a file, it looks like this:


main repo
external 1
external 2
external 3
external 4
external 1

If i make another modification..


main repo
external 1
external 2
external 3
external 4
external 1
external 1

This behaviour happens if i make multiple modifications on a single file and when i modify multiple files. Every time i save my file, the external gets duplicated in the view.

The IDE starts to slow down more and more with every additional duplicate.

On a window reload or restart of VSCode, everything goes back to normal (until the next file is saved).

It seems that only one of the external is consistently duplicated, even if the file that was saved and modified is not in the duplicated external.

To avoid this, i use the new svn.detectExternals setting to false,but it sadly doesn't recognize modifications in the externals when i'm using it.

Steps to Reproduce

  1. Have a svn repository relying on multiple externals
  2. Modify and save any file in this repo

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions