How do I checkout drupal in main virtual document directory public_html instead of in 'drupal' subdirectory ?

Comments

nevets’s picture

I am guessing currently you have it installed under public_html/drupal. You can just move all the directories and folders from drupal to public_html. Remember to reset the base_url in settings.php to reflect the new location.

sire’s picture

Sorry.. I wasn't clear with my original post. :(

What I meant was CVS checkout of Drupal. I want to use CVS checkout to update my drupal installs whenever a new stable release is ready. I've been reading up on it, but haven't found a way to checkout to a destination directory. It creates a 'drupal' subdirectory each time.

tclineks’s picture

Please see
`cvs --help`
and `cvs --help export`

cvs -d ":pserver:anonymous@cvs.drupal.org:/cvs/drupal" checkout -d drupal_cvs drupal

'checkout -d drupal_cvs' provides the alternate destination directory (drupal_cvs).

sire’s picture

Thank you. This will help me tremendously.

Is there a CVS Tag or Branch that Drupal uses, that always contains the latest stable release ? I see CVS MAIN and CVS HEAD. I am not sure whether CVS MAIN is what I want or not.

asimmonds’s picture

Using the example above, for Drupal 4.6.x:
cvs -d ":pserver:anonymous@cvs.drupal.org:/cvs/drupal" checkout -r DRUPAL-4-6 -d drupal-4.6 drupal

Drupal 4.7's tag will probably be DRUPAL-4-7

MySchizoBuddy’s picture

what is the username and password to access it.
I'm using a CVS checkout gui and its asking for username and password.
what is :pserver anyway

skor’s picture

:pserver is the authentication method.

With the above, I kept getting

cvs checkout: authorization failed: server cvs.drupal.org rejected access to /cvs/drupal for user anonymous
cvs checkout: used empty password; try "cvs login" with a real password

So I tried this (note the extra anonymous)

cvs -d ":pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal" checkout -r DRUPAL-4-7 drupal

and it worked.