CVS Conversion to Hg

Paul Franz theandromedan at gmail.com
Mon Mar 10 17:40:51 CDT 2008



Martin Gadbois wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Matt Mackall wrote:
>   
>> What you need to do is use CVS modules configuration to pull all those
>> parts into one CVS checkout workspace and convert that. Don't ask me how
>> to do that though, I've suppressed those memories.
>>
>>     
>
> I've tried to do change the CVS "CVSROOT/modules" file to contain all
> the sub-projects:
> top &proj1 &proj2 &proj3 ...
>
> "cvs get top" recovers all the proj* modules under "top", but when I do
> "hg convert top", it only converts  module "proj1".
>
> I have not tried with other converters.
>
> Is that the method you kinda remembered?
>
> - --
> ==============         +---------------------------------------------+
> Martin Gadbois         | "Please answer by yes or no.                |
> Sr. SW Designer        | Uncooperative user waste precious CPU time" |
> Colubris Networks Inc. | -- The Andromeda Strain, M. Crichton, 1969  |
>
>   
Just tried that myself and I can confirm that it does not work. Actually 
for me it does worse. It does the following:

paul-franz-laptop:work paulfranz$ hg convert ../work2/top
assuming destination top-hg
initializing destination top-hg repository
connecting to /Users/paulfranz/sfbonline/SFBOL/cvs_repo/sfbol
scanning source...
sorting...
converting...

and stops.

I am not sure if it matters or not. But to get around my initial convert 
programs I tar'd up the repo and extracted on the local machine.

Paul Franz


More information about the Mercurial mailing list