[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cvs2svn, branch and tag with the same name

From: <kfogel_at_collab.net>
Date: 2004-02-20 18:25:14 CET

Tobias didn't say the real reason in his response (although it was
Tobias who pointed out this problem to me in the first place):

CVS doesn't care if a label is a tag on one file and branch on
another. When you do 'cvs checkout -rLABEL', you'll still get the
right tree -- just some of the files will be committable and some
won't. But in Subversion, because the labeling is path-based, you
won't get the same tree. Instead, either the branch files or the tag
files will be missing, depending on which path you checked out.

So this *is* a real problem.


"Craig L. Ching" <cching@mqsoftware.com> writes:
> > [Your mail client needs to wrap those long lines]
> >
> Sorry, it's outlook and I really don't know much about configuring it :-/ If someone can tell me how to make it wrap, I'm all ears.
> > What *is* the right thing to do? It's likely that the person who
> > created it made a mistake, but did he intend to have a tag or a
> > branch? Or was it really his intention to use it as a branch in one
> > part of the repository, and as a tag in another part?
> >
> Well, since it was a tag *and* a branch, I would assume that that's what it should be. I suppose they could have made a mistake, but that's how it exists in CVS and a translation to Subversion should do the same IMO. I don't view cvs2svn to be a CVS repo fixer, it should just translate from one to the other. Maybe it could be a warning? Once it was put into subversion, the user could certainly fix the problem there, if it is indeed a problem, no?
> > I think manual intervention is neccessary here, and until (if ever)
> > cvs2svn.py has a feature to let the user override these things during
> > conversion, you will have to fix the CVS repository before you start.
> >
> I'm not sure I agree in this case.
> > /Tobias
> >
> >
> Cheers,
> Craig

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 20 19:27:58 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.