E. Uh Oh, Here Comes Drupal Version 247...

"Oh no, Mr. Bill, the Drupal gods have announced a new version in the offing, and now it's ready to start the beta phase, so it's time to seriously think about upgrading my module."

Okay, calm down. The CVS is part is the least of your worries.

Note: I haven't quite started this part myself, so this is based on talking to other developers who have.

You will be creating a new code base for the new version. Part of that will be copying your sites directory over. That positions your code in the right place.

This Means a New Branch!

Much like you did in the beginning, you will create a new branch for CVS.

  1. Go to your new copy of the module directory.
  2. Right click and select CVS > Branch.
  3. Enter the proper branch name for the new version.
  4. DRUPAL-7
    DRUPAL-6
    DRUPAL-5<
  5. Next you'll create a tag for the new version of the module. Since this is the initial release for the new version, you start with 1.0 again. Use one of the following tags below depending on the version of Drupal:
  6. DRUPAL-7--1-0
    DRUPAL-6--1-0
    DRUPAL-5--1-0<

Okay, now for the hard part: updating your code. Have fun and learn a lot!

I don't know if you can delete the previous version's branch and tags from the new directory.