uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[uracoli-devel] Change from CVS to Mercurial


From: uracolix
Subject: [uracoli-devel] Change from CVS to Mercurial
Date: Sun, 09 Oct 2011 22:30:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

Hallo all,

I plan to do the change from CVS to Mercurial within the next days.

Please commit your changes (without breaking the mainline ;-) )
until October 12, 2011.

On thursday (2011-10-13) I'll take the final CVS-snapshot, convert it to Mercurial and sent it to Savannah.

During this time, please do not commit anything.

Inparallel I'll open a ticket at Savannah to make the CVS repo readonly.


Attached is a description of the test conversion, which I did on
my PC. If you see there any mistakes, please send a mail.

Best Regards and happy committing, Axel

Convert Savannah CVS Repo to Mercurial / Hg

Copy the rsynced CVS Repo

cp -rfv ../uracoli-backup/sources/uracoli .
mv uracoli uracoli-cvs

http://mercurial.selenic.com/wiki/ConvertExtension#Converting_from_CVS

cvs -R -d /home/axel/Work/cvs2hg/uracoli-cvs checkout  uracoli

... fails ....

E uracoli-cvs/CVSROOT/config
change line

LockDir=/var/lock/cvs/sources/uracoli
to
LockDir=/tmp/cvs/sources/uracoli

mkdir -p /tmp/cvs/sources/uracoli

Create a working copy of entire repository

mkdir uracoli-xxx
cd uracoli-xxx/
cvs -d /home/axel/Work/cvs2hg/uracoli-cvs checkout  .
mkdir -p /tmp/cvs/sources/uracoli
cvs -d /home/axel/Work/cvs2hg/uracoli-cvs checkout  .
ls -l uracoli-xxx
insgesamt 16
drwxr-xr-x  2 axel axel 4096 2011-10-09 22:02 CVS
drwxr-xr-x  3 axel axel 4096 2011-10-09 22:02 CVSROOT
drwxr-xr-x  8 axel axel 4096 2011-10-09 22:02 uracoli
drwxr-xr-x 11 axel axel 4096 2011-10-09 22:02 uracoli-appnotes

Convert the working directory to HG

hg convert uracoli-xxx
cd uracoli-xxx-hg/

Create empty target repository

cd ..
mkdir test-repo
cd test-repo
hg init

Create empty target repository

cd ../uracoli-xxx-hg/
hg push /home/axel/Work/cvs2hg/test-repo

Verify of conversion was OK

hg clone uracoli-xxx-hg my-uracoli-repo
cd my-uracoli-repo/
ls -lR
scons all


reply via email to

[Prev in Thread] Current Thread [Next in Thread]