Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 162679

Summary: CVS update complains if CVS checkout set to prune empty directories
Product: Community Reporter: Mayur Naik <mayur_h_naik>
Component: CVSAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Mayur Naik CLA 2006-10-28 17:26:33 EDT
I'm using Eclipse 3.2.0 (build ID M20060629-1905) on Linux.

If I set option "Prune empty directories" in the "Files and Folders" tab under Window->Preferences->Team->CVS and checkout a project from CVS, and later try to update the project, Eclipse complains with a dialogue box titled "CVS Update" containing the message:

Problems reported while synchronizing CVS Workspace.  0 of 1 resources were synchronized.

If I expand the "<< Details" box, it reports a list of warnings of the form:

<project_name>: cvs update: cannot open directory <...>: No such file or directory

where the <...>'s are precisely those empty directories that were pruned when the project was checked out.  If I start afresh and don't set the "Prune empty directories" option and then do a checkout followed by an update, then I don't see the above warnings.
Comment 1 Mayur Naik CLA 2006-10-28 17:59:19 EDT
I just got the latest version of Eclipse (3.2.1) and it doesn't have this problem.  So I'm closing this bug.