CVS Conversion to Hg
Paul Franz
theandromedan at gmail.com
Mon Mar 10 02:54:24 UTC 2008
Giorgos Keramidas wrote:
> On 2008-03-08 23:41, Paul Franz <theandromedan at gmail.com> wrote:
>
>> I am working on converting my CVS repository to a Hg. The problem is
>> that when I try to convert it I get a new Hg repository for each
>> module. I would like to all of the modules (which are actually all
>> one project) to be in a single repository without losing history of
>> the changes. Is this possible?
>>
>
> How are you doing the conversion? That is a good starting point before
> we understand why you see `split modules'.
>
>
>
These are the commands that I execute:
mkdir ~/work2
cd ~/work2
cvs checkout src
cvs checkout res
cvs checkout build
mkdir ~/work
hg init .
hg convert ~/work2/src src
hg convert ~/work2/res res
hg convert ~/work2/build build
the result is that src,res and build are separate hg respositories with
all of the history.
if I try
mkdir ~/work2
cd ~/work2
cvs checkout src
cvs checkout res
cvs checkout build
mkdir ~/work
hg init .
hg convert ~/work2 .
the result is:
destination . is a Mercurial repository
scanning source...
sorting...
converting...
0
No username found, using 'paulfranz at paul-franz-laptop.local' instead
Paul Franz
More information about the Mercurial
mailing list