Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-03-20 16:31:35 -0500
committerMichael Valenta2002-03-20 16:31:35 -0500
commit87342680a369fe6cacc93555e79e188da4417072 (patch)
tree4975bb38b62eccbb1326c47369b455ba7e196142
parent0d4cd3c49ebe91c1645d38573b7e5a05c79853f8 (diff)
downloadeclipse.platform.team-87342680a369fe6cacc93555e79e188da4417072.tar.gz
eclipse.platform.team-87342680a369fe6cacc93555e79e188da4417072.tar.xz
eclipse.platform.team-87342680a369fe6cacc93555e79e188da4417072.zip
11606: Internal error occured when synching
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/ResourceDeltaSyncHandler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/ResourceDeltaSyncHandler.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/ResourceDeltaSyncHandler.java
index 780e02310..d3b61fc8d 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/ResourceDeltaSyncHandler.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/ResourceDeltaSyncHandler.java
@@ -140,6 +140,9 @@ public class ResourceDeltaSyncHandler implements IResourceDeltaVisitor {
ResourceSyncInfo info = mFile.getSyncInfo();
if (info.isDeleted()) {
mFile.setSyncInfo(new ResourceSyncInfo(info.getName(), info.getRevision(), info.getTimeStamp(), info.getKeywordMode(), info.getTag(), info.getPermissions()));
+ } else if (info.isDirectory()) {
+ // XXX This is a gender change against the server! We should prevent this creation.
+ mFile.unmanage();
}
}
} catch (CVSException e) {

Back to the top