uracoli-devel
[Top][All Lists]
Advanced

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

[uracoli-devel] Reminder: Change from CVS to Mercurial


From: uracolix
Subject: [uracoli-devel] Reminder: Change from CVS to Mercurial
Date: Wed, 12 Oct 2011 07:00:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

Hallo all,

please check in all your changes until today midnight,
the migration to Mercurial will happen tomorrow.

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]