Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-05-09 09:28:07 -0400
committerMichael Valenta2002-05-09 09:28:07 -0400
commit2fa288db153069a18ef8ad042e785ab964071607 (patch)
tree4eac9929c60e9537b98c708e2950f3b5f266d1ef /bundles/org.eclipse.team.cvs.ui
parent4288f0ed2e613a6cbf8c58971955a42f02db9de6 (diff)
downloadeclipse.platform.team-2fa288db153069a18ef8ad042e785ab964071607.tar.gz
eclipse.platform.team-2fa288db153069a18ef8ad042e785ab964071607.tar.xz
eclipse.platform.team-2fa288db153069a18ef8ad042e785ab964071607.zip
Removed unnecessary folder adjustment
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/sync/AddSyncAction.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/sync/AddSyncAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/sync/AddSyncAction.java
index 54742cea4..807450043 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/sync/AddSyncAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/sync/AddSyncAction.java
@@ -88,7 +88,6 @@ public class AddSyncAction extends MergeAction {
IResource resource = changed[i].getResource();
if (resource.getType() == resource.FILE) {
syncSet.remove(node);
- makeFolderInSync((DiffContainer)node.getParent());
}
}
} catch (final TeamException e) {
@@ -103,19 +102,6 @@ public class AddSyncAction extends MergeAction {
return syncSet;
}
- protected void makeFolderInSync(DiffContainer parentElement) throws TeamException {
- // Recursively make the parent element (and its parents) in sync.
- // Walk up and find the parents which need to be made in sync too. (For
- // each parent that doesn't already have sync info).
- Vector v = new Vector();
- int parentKind = parentElement.getKind();
- while (((parentKind & Differencer.CHANGE_TYPE_MASK) == Differencer.ADDITION)) {
- parentElement.setKind(IRemoteSyncElement.IN_SYNC);
- parentElement = (DiffContainer)parentElement.getParent();
- parentKind = parentElement == null ? 0 : parentElement.getKind();
- }
- }
-
/**
* Enabled for folders and files that aren't added.
*/

Back to the top