Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-10-17 19:38:41 +0000
committerMichael Valenta2003-10-17 19:38:41 +0000
commitce052535f37beffc305fcd4586672fabf8fe444f (patch)
tree17cc6806d3756608c5f0b595627b827201ad3149
parentd0c32fefd5296a217e89a310d36785159bb66160 (diff)
downloadeclipse.platform.team-ce052535f37beffc305fcd4586672fabf8fe444f.tar.gz
eclipse.platform.team-ce052535f37beffc305fcd4586672fabf8fe444f.tar.xz
eclipse.platform.team-ce052535f37beffc305fcd4586672fabf8fe444f.zip
45132: Checkout as erases existing project
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
index 152d3a55a..55be0a62e 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
@@ -356,7 +356,7 @@ public abstract class CheckoutProjectOperation extends CheckoutOperation {
IProjectDescription desc = getDescriptionFor(project);
if (desc != null) {
File localLocation = desc.getLocation().toFile();
- return localLocation.exists();
+ if (localLocation.exists()) return true;
}
// Next, check if the resource itself exists

Back to the top