diff options
author | Michael Valenta | 2003-11-19 22:10:22 +0000 |
---|---|---|
committer | Michael Valenta | 2003-11-19 22:10:22 +0000 |
commit | 145ea0fa824a3ddb699e6cc594c74c7dc3ff81c4 (patch) | |
tree | e6bc5b1711bdfcd996869d52d259cd7db97b387d | |
parent | 63774bf3bd0cb4695bac5cf64fe5e2063852101a (diff) | |
download | eclipse.platform.team-145ea0fa824a3ddb699e6cc594c74c7dc3ff81c4.tar.gz eclipse.platform.team-145ea0fa824a3ddb699e6cc594c74c7dc3ff81c4.tar.xz eclipse.platform.team-145ea0fa824a3ddb699e6cc594c74c7dc3ff81c4.zip |
Changes to support the use of date tags
-rw-r--r-- | bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Update.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Update.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Update.java index d685e99ce..1e5423c16 100644 --- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Update.java +++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Update.java @@ -110,9 +110,11 @@ public class Update extends Command { return status; } - // If we are pruning (-P) or getting a sticky copy using -D, then prune empty directories - if (PRUNE_EMPTY_DIRECTORIES.isElementOf(localOptions) || - findOption(localOptions, "-D") != null) { //$NON-NLS-1$ + // If we are pruning (-P), then prune empty directories + // Note, the CVS spec says that Date (-D) and version (-r) updates + // should automatically prune but this is a problem for remote CVS handles + // which fetch a level at a time + if (PRUNE_EMPTY_DIRECTORIES.isElementOf(localOptions)) { //$NON-NLS-1$ // Delete empty directories new PruneFolderVisitor().visit(session, resources); |