Performing an initial checkout of Drupal HEAD (i.e. $ cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout drupal) results in the erroneous creation of a bunch of extra empty folders.
Here is a list of the extra folders erroneously included with a fresh CVS checkout:
Name Size Modified
-----------------------------------------
database 2010-08-03 12:04:00 PM
files 2010-08-03 12:04:00 PM
includes 2010-08-03 12:04:00 PM
\tests 2010-08-03 12:04:00 PM
modules 2010-08-03 12:04:00 PM
+actions 2010-08-03 12:04:00 PM
+archive 2010-08-03 12:04:00 PM
+blogapi 2010-08-03 12:04:00 PM
+drupal 2010-08-03 12:04:00 PM
+image 2010-08-03 12:04:00 PM
|\images 2010-08-03 12:04:00 PM
+legacy 2010-08-03 12:04:00 PM
+page 2010-08-03 12:04:00 PM
+ping 2010-08-03 12:04:00 PM
+story 2010-08-03 12:04:00 PM
+throttle 2010-08-03 12:04:02 PM
+upload 2010-08-03 12:04:02 PM
\watchdog 2010-08-03 12:04:02 PM
profiles 2010-08-03 12:04:02 PM
+default 2010-08-03 12:04:02 PM
\expert 2010-08-03 12:04:02 PM
sites 2010-08-03 12:04:02 PM
\default 2010-08-03 12:04:02 PM
themes 2010-08-03 12:04:02 PM
+bartik 2010-08-03 12:04:02 PM
|\scripts 2010-08-03 12:04:02 PM
+bluemarine 2010-08-03 12:04:02 PM
+chameleon 2010-08-03 12:04:02 PM
|+images 2010-08-03 12:04:02 PM
|+marvin 2010-08-03 12:04:02 PM
|\pure 2010-08-03 12:04:02 PM
+engines 2010-08-03 12:04:02 PM
|\xtemplate 2010-08-03 12:04:02 PM
+example 2010-08-03 12:04:02 PM
+garland 2010-08-03 12:04:02 PM
|\minnelli 2010-08-03 12:04:02 PM
| \color 2010-08-03 12:04:02 PM
+goofy 2010-08-03 12:04:02 PM
|\images 2010-08-03 12:04:02 PM
+jeroen 2010-08-03 12:04:02 PM
|\images 2010-08-03 12:04:02 PM
+marvin 2010-08-03 12:04:02 PM
|\images 2010-08-03 12:04:02 PM
+pushbutton 2010-08-03 12:04:02 PM
+slate 2010-08-03 12:04:02 PM
+trillian 2010-08-03 12:04:02 PM
|\images 2010-08-03 12:04:02 PM
+unconed 2010-08-03 12:04:02 PM
|\images 2010-08-03 12:04:02 PM
+xtemplate 2010-08-03 12:04:02 PM
|+default 2010-08-03 12:04:02 PM
|+images 2010-08-03 12:04:02 PM
|\pushbutton 2010-08-03 12:04:02 PM
\yaroon 2010-08-03 12:04:02 PM
\images 2010-08-03 12:04:02 PM
updates 2010-08-03 12:04:02 PM
-----------------------------------------
Note that performing a CVS update -rP cleans out this cruft.
Comments
Comment #1
damien tournoud commentedThis is how CVS work.
You can pass -P to
cvs checkoutif you are not happy with those additional directories.Comment #2
ridgerunner commentedOk, I get it now. The -P option tells CVS to prune empy directories. I thought that this was a problem because neither the release gz/zip distribution archives nor the github drupal repository include any of these empty folders. That, and they looked like unecessary cruft to me. (goofy theme?)
Thanks for clearing this up Damien. Hey, you learn something new every day!
:)
Comment #3
marcvangendJust ran into this as well. Wouldn't you agree that the documentation at http://drupal.org/node/320 should include the -P option in all commands?
Comment #4
webchickSounds good. Go for it!
Comment #5
marcvangendWebchick, I'd love to, but I don't have the rights to edit that page. Can you grant me permission?
If not, maybe someone else can make the following changes:
- add the
-Pflag to all command line examples (if it's not there already)- move line about the
-Pflag (now in the "Keeping your HEAD in the game" section) up in the page, so it will appear below the first command line example like this:Comment #6
webchickThou hast verily been granted thine "documentation maintainer" permissions. Go forth, brave Sir, and kicketh those docs into shapeth!
(Wow, I need sleep.)
Comment #7
marcvangendThanks, Webchick Shakespeare!
I updated the page. Commands with
co -Dorco -ralready imply the-Pflag, so I didn't add it there. The exact changes can be seen at http://drupal.org/node/320/revisions/view/1030678/1151204.