svn-scm
svn-scm copied to clipboard
onDidChangeRepository event should have threshold
trafficstars
The case: I do some operation from CLI with repo, e.g. svn update It modifies two files inside .svn folder After first file got modified the vent is emmited, svn status is executed and there are no changes The the second file gets modified, but the event is suppressed since another event took place recently
I suggest adding threshold, 200ms e.g. after which event is fired.
My suggestion:
- For external changes, add 200ms threshold
- For internal changes: wait for
this.onDidRunOperation, likewhenIdleAndFocusedinrepository.ts