svn-scm
svn-scm copied to clipboard
Using 'Commit Selected' FSWatcher.repoWatch receives undefined 'fire' property after commit
trafficstars
- VSCode Version: 1.54.3
- OS Version: Windows 10 20H2 (build 19042.868)
- Extension Version: 2.13.5
- System Language: English (United Kingdom)
- SVN Version: 1.14.0
Issue
After committing a file or files using the 'Commit Selected' option in the 'Source Control' panel, the console will log the following errors:
workbench.desktop.main.js:2084 [[object Object]]Cannot read property 'fire' of undefined
$onExtensionRuntimeError @ workbench.desktop.main.js:2084
_doInvokeHandler @ workbench.desktop.main.js:1687
_invokeHandler @ workbench.desktop.main.js:1687
_receiveRequest @ workbench.desktop.main.js:1687
_receiveOneMessage @ workbench.desktop.main.js:1687
(anonymous) @ workbench.desktop.main.js:1687
fire @ workbench.desktop.main.js:57
fire @ workbench.desktop.main.js:76
_receiveMessage @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
fire @ workbench.desktop.main.js:57
acceptChunk @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
I @ workbench.desktop.main.js:2760
emit @ events.js:315
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:271
Readable.push @ _stream_readable.js:212
onStreamRead @ internal/stream_base_commons.js:186
TypeError: Cannot read property 'fire' of undefined
at FSWatcher.repoWatch (c:\Users\samwa\.vscode\extensions\johnstoncode.svn-scm-2.13.5\out\extension.js:2:273773)
at Timeout._onTimeout (c:\Users\samwa\.vscode\extensions\johnstoncode.svn-scm-2.13.5\out\extension.js:2:165678)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
$onExtensionRuntimeError @ workbench.desktop.main.js:2084
_doInvokeHandler @ workbench.desktop.main.js:1687
_invokeHandler @ workbench.desktop.main.js:1687
_receiveRequest @ workbench.desktop.main.js:1687
_receiveOneMessage @ workbench.desktop.main.js:1687
(anonymous) @ workbench.desktop.main.js:1687
fire @ workbench.desktop.main.js:57
fire @ workbench.desktop.main.js:76
_receiveMessage @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
fire @ workbench.desktop.main.js:57
acceptChunk @ workbench.desktop.main.js:76
(anonymous) @ workbench.desktop.main.js:76
I @ workbench.desktop.main.js:2760
emit @ events.js:315
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:271
Readable.push @ _stream_readable.js:212
onStreamRead @ internal/stream_base_commons.js:186
This will also break further usage of 'Commit Selected' and files can only be committed using VSCode's in built source control panel, though this works with no further problems.
Steps to Reproduce
- Commit any file/s with a commit message using 'Commit Selected'.
- After commit, extension host will log console errors.
- Commit Selected will no longer work, i.e. the webview will not show
SVN Output
[REDACTED]$ svn stat --xml --no-ignore --ignore-externals
[REDACTED]$ svn cat -r HEAD svn://REDACTED/index.js
[REDACTED]$ svn info --xml c:\Users\samwa\REDACTED\index.js
[REDACTED]$ svn log -r HEAD:1 --limit=50 --xml -v svn://REDACTED/index.js