From ea6aadd3e738ebe22396b52dc8658492f1778062 Mon Sep 17 00:00:00 2001 From: Irina Chernushina Date: Wed, 12 Aug 2009 16:10:24 +0400 Subject: [PATCH] VCS: show history usages into backgroundable, markup for VCS providers, markup for VCS providers methods that are claimed to be called in background --- .../org/jetbrains/idea/svn/history/SvnHistoryProvider.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/plugins/svn4idea/src/org/jetbrains/idea/svn/history/SvnHistoryProvider.java b/plugins/svn4idea/src/org/jetbrains/idea/svn/history/SvnHistoryProvider.java index 278d5531e6..8605c2c620 100644 --- a/plugins/svn4idea/src/org/jetbrains/idea/svn/history/SvnHistoryProvider.java +++ b/plugins/svn4idea/src/org/jetbrains/idea/svn/history/SvnHistoryProvider.java @@ -19,7 +19,6 @@ import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.ActionPlaces; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.DefaultActionGroup; -import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.progress.ProcessCanceledException; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.ProgressManager; @@ -211,15 +210,7 @@ public class SvnHistoryProvider implements VcsHistoryProvider { } }; - if (ApplicationManager.getApplication().isDispatchThread()) { - boolean success = ProgressManager.getInstance().runProcessWithProgressSynchronously(command, SvnBundle.message("progress.title.revisions.history"), true, myVcs.getProject()); - if (!success) { - return null; - } - } - else { - command.run(); - } + command.run(); if (exception[0] != null) { throw new VcsException(exception[0]); -- 2.11.4.GIT