Converting from CVSNT

Giampaolo Fadel gp.fadel at gmail.com
Fri Jun 26 06:49:58 CDT 2009


Michael Haggerty ha scritto:
> Giampaolo Fadel wrote:
>   
>> Thanks Greg for the answer
>>     
>>> Also, be warned that it's extremely difficult to convert a CVS
>>> repository with branches or tags, and hg convert does not always get
>>> it right.  If you care about an accurate conversion of history, you
>>> might want to look at a two-step process starting with cvs2svn.
>>>       
>> I've already tried cvs2svn and then convert to hg but the result was
>> worst, the result was about 20
>> unlabelled branch that in the original repository doesn't exist.
>>     
>
> I'm the maintainer of cvs2svn.  Did the unlabeled branches appear in
> SVN, or only after converting to mercurial?  If the former, I would
> appreciate it if you would report this as a bug on the cvs2svn mailing list.
>
>   
Yes the unlabeled branches appear in the SVN.

> More likely, your CVSNT repository had unlabeled branches before the
> conversion.  This happens frequently when people delete the label of a
> CVS branch without deleting the branch itself.  You can configure
> cvs2svn to ignore unlabeled branches if you prefer.
>
>   
May be. The project  that I want to convert is maintened by some 
colleagues of mine, and I don't know what they did  in the past.
Does exist any way to understand if my cvs repository is so?
If my repository is so, there is no reason to report this as an error 
and I'll configure cvs2svn to ignore them.

> With the latest trunk version of cvs2svn, it should also be possible to
> convert directly from CVS to the hg-fastimport format by starting from
> the "cvs2hg-example.options" options file.  However, there haven't been
> many reports about how well this works, so if you try this, please
> report your experiences.
>
>   
Interesting. I'll try it.

> Michael
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090626/3fd4770c/attachment.htm 


More information about the Mercurial mailing list