svn-scm
svn-scm copied to clipboard
Cannot read properties of undefined (reading 'fire') on update
trafficstars
- VSCode Version: 1.71.2
- OS Version: Win10 21H2
- Extension Version: 2.15.5
- System Language: german
- SVN Version: 1.14.2
Issue
The runtime throws "Cannot read properties of undefined (reading 'fire')" when I try to update a repository. It seems that it's important, that the folder that is open in vscode must be a subdirectory of the trunk. Like .../trunk/frontend for example.
I debugged it quickly and it seems like there is just a .bind(this) missing while registering the watcher at src\watchers\repositoryFilesWatcher.ts:54
Steps to Reproduce
- open a folder that is a subdirectory of the trunk
- try to update
- look at the runtime status of the extension
SVN Output
[Frontend]$ svn update --ignore-externals
[Frontend]$ svn stat --xml --no-ignore --ignore-externals
[Frontend]$ svn info --xml
[Frontend]$ svn stat --xml --no-ignore --ignore-externals --show-updates
[Frontend]$ svn stat --xml --no-ignore --ignore-externals
Screenshots
