HgCommandExecutor: disable assertion on calling hg from ShowDiff in awt.

This commit is contained in:
Kirill Likhodedov
2011-12-05 18:03:46 +03:00
parent 7a8ddb5dc0
commit bc0ad5a1e7
@@ -98,7 +98,7 @@ public final class HgCommandExecutor {
@Nullable
public HgCommandResult executeInCurrentThread(@Nullable final VirtualFile repo, final String operation, final List<String> arguments) {
LOG.assertTrue(!ApplicationManager.getApplication().isDispatchThread());
//LOG.assertTrue(!ApplicationManager.getApplication().isDispatchThread()); disabled for release
if (myProject == null || myProject.isDisposed() || myVcs == null) {
return null;
}