Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2002-03-26 21:31:35 -0500
committerJean Michel-Lemieux2002-03-26 21:31:35 -0500
commitb23383356c42c9afd50851110378b884bcf07841 (patch)
tree91ea89c709ea18741a56ec1f3564a21f3104429e
parent721110c91e4315db71ddab522f9679e0e85ddc5f (diff)
downloadeclipse.platform.team-b23383356c42c9afd50851110378b884bcf07841.tar.gz
eclipse.platform.team-b23383356c42c9afd50851110378b884bcf07841.tar.xz
eclipse.platform.team-b23383356c42c9afd50851110378b884bcf07841.zip
*** empty log message ***teamPrivateResourcesBranch
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/SyncFileWriter.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/SyncFileWriter.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/SyncFileWriter.java
index a37c4f445..1c28221a3 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/SyncFileWriter.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/SyncFileWriter.java
@@ -115,14 +115,16 @@ public class SyncFileWriter implements IResourceChangeListener {
whenWeWrote = null;
}
if(whenWeWrote==null || whenWeWrote.longValue() != modStamp) {
- if(isCVSMetaFile) {
- changedContainers.add(parent.getParent());
- } else {
- changedContainers.add(parent);
- }
if(Policy.DEBUG_METAFILE_CHANGES) {
System.out.println("CVS metaFile changed by 3rd party: " + resource.getFullPath()); //$NON-NLS-1$
}
+ IResource changedContainer = parent;
+ if(isCVSMetaFile) {
+ changedContainer = parent.getParent();
+ }
+ if(!changedContainers.contains(changedContainer)) {
+ changedContainers.add(changedContainer);
+ }
}
}
return true;

Back to the top