Checking Out Drupal using a bash shell
Checkout a specific Drupal version:$ cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -r DRUPAL-6-13 drupal
where “6-13” is the name of a particular Drupal release. You find out the name of the most current Drupal version by going to the Drupal.org home page. A complete list of versions is found at:List of core branches and tags.
Once you have a copy of the Drupal HEAD, keeping up-to-date is simple! Use the cd command to navigate your way into your HEAD directory, and then use:
$ cvs update -dP
to update all files to their latest versions. The -d creates any (new) directories that exist in the repository if they’re missing from your local working directory. The -P flag prunes any and all empty directories, i.e. directories that got removed in the repository will also be removed in your working copy too.
To update to a newer version of Drupal, you can use the version tag via the -r flag:
$cvs update -dP -r DRUPAL-6-13
You can also use the command:
$ cvs -q update -dP
to suppress informational messages related to the update (-q: quiet).
Checking Out Drupal using a bash shell
Checkout a specific Drupal version:$ cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -r DRUPAL-6-13 drupal
where “6-13” is the name of a particular Drupal release. You find out the name of the most current Drupal version by going to the Drupal.org home page. A complete list of versions is found at:List of core branches and tags.
Once you have a copy of the Drupal HEAD, keeping up-to-date is simple! Use the cd command to navigate your way into your HEAD directory, and then use:
$ cvs update -dP
to update all files to their latest versions. The -d creates any (new) directories that exist in the repository if they’re missing from your local working directory. The -P flag prunes any and all empty directories, i.e. directories that got removed in the repository will also be removed in your working copy too.
To update to a newer version of Drupal, you can use the version tag via the -r flag:
$cvs update -dP -r DRUPAL-6-13
You can also use the command:
$ cvs -q update -dP
to suppress informational messages related to the update (-q: quiet).