void (BaseRevision was, BaseRevision become) { myScheduler.submit(() -> { final AbstractVcs vcs = getVcs(was); if (vcs != null) { myRevisionsCache.changeUpdated(was.getPath(), vcs); } BackgroundTaskUtil.syncPublisher(myProject, VcsAnnotationRefresher.LOCAL_CHANGES_CHANGED).dirty(become); }); }