Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/RemoteFolderTreeBuilder.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/RemoteFolderTreeBuilder.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/RemoteFolderTreeBuilder.java
index 5c1f78f3f..ff9aa5657 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/RemoteFolderTreeBuilder.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/RemoteFolderTreeBuilder.java
@@ -183,14 +183,17 @@ public class RemoteFolderTreeBuilder {
// Create a remote folder tree corresponding to the local resource
RemoteFolderTree remote = new RemoteFolderTree(parent, repository, new Path(local.getFolderSyncInfo().getRepository()), local.getFolderSyncInfo().getTag());
-
+ // Above should be replaces by the following (after M3)
+// RemoteFolderTree remote = new RemoteFolderTree(parent, local.getName(), repository, new Path(local.getFolderSyncInfo().getRepository()), local.getFolderSyncInfo().getTag());
+
+
// Create a List to contain the created children
List children = new ArrayList();
// Build the child folders corresponding to local folders base
ICVSFolder[] folders = local.getFolders();
for (int i=0;i<folders.length;i++) {
- if (folders[i].isCVSFolder()) {
+ if (folders[i].isManaged() && folders[i].isCVSFolder()) {
children.add(buildBaseTree(remote, folders[i], monitor));
}
}

Back to the top