Skip to end of metadata
Go to start of metadata

Tests

  • on OOO340
    • trunk only
    • 276930 revision
    • until 263206 linear revisions only
  • svn / hg / git servers and clients on the same machine.

Name

version

description

results

hg2svn

from hg 0 rev with Mercurial convert tool

Try with Mercurial 1.9 following and also try with the --splicemap

Get a python error. No sufficient knowledge in py to invest.

 

from hg 0 rev

use this script for converting from hg to svn. works with no problem up to 800.

250 commits / hour -> 1040 hours -> 40 days (4)

 

form hg rev 276900 to end

use the same script (1), works well, same perf after first commit

Just a little hack to do (2). Not diff beetween hg and svn repo at the end (3)

 

hg2git

from hh rev 0

use this script. No error so far,

 

git2svn

 

wait the end of hg2git translation for testing. Will try this and/or this

 

(1) to start from any revision : change the value of START_REV=276900.
(2) when first imports done, svn commands complain about ...don't remember exact message... file men.
Then just open another shell and : $svn add extras/source/gallery/www-graf/men@work.gif@ and it's ok.
(3) $ diff -r svn-repos/ hg-repos/ > diff-result
$ cat diff-result | grep -v ".svn"
relevant results only show 2 empty folders in svn repos that are not still present in hg one :
offapi/drafts/
smoketestoo_native/com/
(4) most time spending in script is on searching folder to remove.

Machine configuration for this test

$ head /proc/cpuinfo
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
stepping : 10
cpu MHz : 3003.000
cache size : 6144 KB

$ head /proc/version
Linux version 2.6.32-27-generic (buildd@crested) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010

$ head /proc/meminfo
MemTotal: 4057716 kB

  • No labels