Discussion:
branch number is odd instead of even
tanager
2009-03-11 21:43:21 UTC
Permalink
I am trying to convert a CVS repo to SVN. I was surprised to get the
following warning messages:

WARNING: in '/cvs/cvsroot/os/linux/drivers/message/fusion/lsi/
mpi_cnfg.h,v':
branch '1.1.1' already has name 'pio_v1220b1',
cannot also have name 'kernel', ignoring the latter


It turns out that we somehow created the branch pio_v1220b1 with
branch number 1.1.0.1 (as confirmed by a cvs log), so it is
conflicting with every imported subtree in the repository (1.1.1).

How is this possible? I thought branch numbers were always even.

Is there any way for me to fix up the CVS repo before doing the next
conversion? I am at 9000 warnings and counting.

Thanks,
David
Rick Genter
2009-03-12 14:03:10 UTC
Permalink
Sent: Wednesday, March 11, 2009 2:43 PM
Subject: branch number is odd instead of even
How is this possible? I thought branch numbers were always even.
I believe vendor branches (from cvs import) are always odd.

--
Rick Genter
Principal Software Engineer
Silverlink Communications
Jim Hyslop
2009-03-13 00:19:57 UTC
Permalink
Post by tanager
I am trying to convert a CVS repo to SVN. I was surprised to get the
WARNING: in '/cvs/cvsroot/os/linux/drivers/message/fusion/lsi/
branch '1.1.1' already has name 'pio_v1220b1',
cannot also have name 'kernel', ignoring the latter
[...]
Post by tanager
Is there any way for me to fix up the CVS repo before doing the next
conversion? I am at 9000 warnings and counting.
You can remove one of the two tags using 'cvs rtag -d ' followed by the
tag you want to eliminate. Of course, judging from the warning message,
it looks like cvs2svn has already done that for you :=)

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
tanager
2009-03-16 14:56:54 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to convert a CVS repo to SVN.  I was surprised to get the
WARNING: in '/cvs/cvsroot/os/linux/drivers/message/fusion/lsi/
   branch '1.1.1' already has name 'pio_v1220b1',
   cannot also have name 'kernel', ignoring the latter
[...]
Is there any way for me to fix up the CVS repo before doing the next
conversion?  I am at 9000 warnings and counting.
You can remove one of the two tags using 'cvs rtag -d ' followed by the
tag you want to eliminate. Of course, judging from the warning message,
it looks like cvs2svn has already done that for you :=)
That is the problem. I do not want to remove either tag. The one
called 'kernel' is a vendor tag (1.1.1, because we used the default).
The other one is a tag we created, using CVS, but somehow took the
number 1.1.0.1. This is why it is conflicting with the vendor tag
(because 1.1.0.1 is the same as branch 1.1.1).

I would prefer not to lose the info that says where the file was
imported. And, I do not want to lose the info on the 'pio_v1220b1'
branch. That is why I was hoping there was some way I could make
these so they don't conflict.

Thanks,
David

Loading...