[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: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2004-02-20 18:46:09 CET

Craig L. Ching wrote:
>>>Where in cvs2svn.py does this error happen? Grepping for the string
>>>doesn't find any matches. What should I be looking for in the ,v
>>>file? I don't see anything funny in this file, could the error be a
>>>mistake?
>>
>>Line 289 of r8674 of cvs2svn.py.
>>
>
> Yep, thanks, found it. Now, I have a question. We appear to really have a tag and a branch with the same name. The creator of them should be shot (neither name conforms to our standards, we prefix all tags with T_ and all branches with B_ for CVS, thankfully we can ditch that nomenclature with svn), but, that said, why does Subversion care? If it can differentiate that one is a branch and the other is a tag, couldn't it "Do the Right Thing(tm)?" Not that I really care, I'm going to delete both the tag and branch in this case, this is more for my curiosity ;-)

[Your mail client needs to wrap those long lines]

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?

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.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 20 18:46:16 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.