void (@NotNull VcsDirtyScope dirtyScope, @NotNull ChangelistBuilder builder, @NotNull ProgressIndicator progress, @NotNull ChangeListManagerGate addGate) { if (myProject.isDisposed()) return; final Collection<HgChange> changes = new HashSet<>(); changes.addAll(process(builder, dirtyScope.getRecursivelyDirtyDirectories())); changes.addAll(process(builder, dirtyScope.getDirtyFiles())); processUnsavedChanges(builder, dirtyScope.getDirtyFilesNoExpand(), changes); }