Hi Folk,

I have create a new theme project: http://drupal.org/project/interactive_media, import code with cvs ... import -d contributions/themes/interactive_media drop start, and all seems ok: http://cvs.drupal.org/viewvc.py/drupal/contributions/themes/interactive_...

BTW, when I try to create a new branch for Drupal 5.x with cvs tag -b DRUPAL-5--1, cvs complain with following error message:

** ERROR: invalid branch for this directory:
** contributions/themes/interactive_media
cvs tag: Pre-tag check failed
** ERROR: invalid branch for this directory:
** contributions/themes/interactive_media/images
cvs tag: Pre-tag check failed
cvs [tag aborted]: correct the above errors first!

Any idea? Or what should I do in order to get it function? The above action work fine for my other projects: http://drupal.org/project/contented7 and http://drupal.org/project/internet_services, so I don't really have idea about this error.

Regards,
Edison Wong

Comments

aclight’s picture

Status: Active » Closed (works as designed)

You don't have a DRUPAL-5--1 branch in either of those projects you pointed to, and that's because it's not a valid branch. For Drupal 5 only, the allowed branches in contrib are DRUPAL-5, DRUPAL-5--2, DRUPAL-5--3, etc. From Drupal 6 and on, DRUPAL-6--1 would be valid in contrib.

So simply try cvs tag -b DRUPAL-5 to create the first Drupal 5 branch for your project and you should be fine.

hswong3i’s picture

@aclight: Thanks for this information and I did it.

dynv’s picture

@aclight It work thanks ! However I need to make BETA then RC releases, I'd followed the Overview of contributions branches and tags conventions but I keep getting back the error for those ... Do you know anything about that ? Thank you kindly for your help.

dww’s picture

BETA and RC releases (just like all releases except -dev snapshots) are from tags, not branches.

Please RTFM:
http://drupal.org/handbook/cvs/introduction#branches-and-tags
http://drupal.org/files/maintain-release-handout.pdf

Even the page you referenced explains this ;)
http://drupal.org/node/93999#release-tags

Enjoy,
-Derek

Component: CVS » Other