From 63181b737f1e96c878d84d737cbb269d8084f5bf Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Tue, 3 Apr 2012 12:42:00 +0200 Subject: [PATCH] IDEA-80349 (After checkout IDEA show "create new project" dialog twice) --- .../openapi/vcs/checkout/CompositeCheckoutListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/checkout/CompositeCheckoutListener.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/checkout/CompositeCheckoutListener.java index edecdddffe2b..751bac7bba33 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/checkout/CompositeCheckoutListener.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/checkout/CompositeCheckoutListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -81,7 +81,7 @@ public class CompositeCheckoutListener implements CheckoutProvider.Listener { myFoundProject = listener.processCheckedOutDirectory(myProject, directory); if (myFoundProject) break; } - if (!myFoundProject) { + if (!myFoundProject && !epName.equals(CheckoutListener.COMPLETED_EP_NAME)) { final VcsAwareCheckoutListener[] vcsAwareExtensions = Extensions.getExtensions(VcsAwareCheckoutListener.EP_NAME); for (VcsAwareCheckoutListener extension : vcsAwareExtensions) { myFoundProject = extension.processCheckedOutDirectory(myProject, directory, myVcsKey);