| Summary: | Pruned directories are not removed from CVS/Entries. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jan Skarvall <jan.skarvall> |
| Component: | CVS | Assignee: | platform-cvs-inbox <platform-cvs-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.6.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |
When importing a project from CVS with pruning of empty directories, the CVS/Entries file lists also the pruned directories. This seem to differ from what happens when a cvs checkout -P is made, where the pruned directories are not included in the CVS/Entries file. I stumbled upon this when trying to make a cvs status -vR aProject standing in the workspace directory, and getting a 'could not chdir to <a pruned directory>' error. (I wanted to use the cvs status command in a script to check that aProject is properly tagged.) See the example below, where aProject has been imported from CVS with pruning of directories: [janne@janne workspace]$ cvs status -vR aProject cvs status: Examining aProject/assets cvs [status aborted]: could not chdir to assets: No such file or directory [janne@janne workspace]$ cat aProject/CVS/Entries /.classpath/1.1/Wed Oct 27 20:37:54 2010// /.project/1.2/Wed Nov 24 22:57:55 2010// /AndroidManifest.xml/1.8/Sun Feb 27 19:26:59 2011// D/assets//// D/bin//// /default.properties/1.3/Thu Jan 27 17:43:39 2011// D/doc//// D/res//// D/src//// [janne@janne workspace]$ mkdir /tmp/checkoutbug [janne@janne workspace]$ cd /tmp/checkoutbug [janne@janne checkoutbug]$ cvs checkout -P aProject cvs checkout: Updating aProject U aProject/.classpath U aProject/.project U aProject/AndroidManifest.xml U aProject/default.properties : : U aProject/src/..../package-info.java [janne@janne checkoutbug]$ cat aProject/CVS/Entries /.classpath/1.1/Wed Oct 27 20:37:54 2010// /.project/1.2/Wed Nov 24 22:57:55 2010// /AndroidManifest.xml/1.8/Sun Feb 27 19:26:59 2011// /default.properties/1.3/Thu Jan 27 17:43:39 2011// D/bin//// D/doc//// D/res//// D/src//// [janne@janne checkoutbug]$ cvs status -vR aProject =================================================================== File: .classpath Status: Up-to-date Working revision: 1.1 Wed Oct 27 20:37:54 2010 Repository revision: 1.1 /var/cvs/aProject/.classpath,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) Existing Tags: aProject_0-5 (revision: 1.1) aProject_0-4 (revision: 1.1) aProject_0-3 (revision: 1.1) aProject_0_2 (revision: 1.1) =================================================================== : : [janne@janne checkoutbug]$