freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] conversion from cvs repository to git (Re: [freetype-deve


From: mpsuzuki
Subject: Re: [ft-devel] conversion from cvs repository to git (Re: [freetype-devel] Some public APIs using FT_Int/FT_UInt should be improved in future)
Date: Fri, 26 Dec 2008 13:13:13 +0900

Dear James,

Thank you for comment, just I've excersised the conversion
of FreeType whole CVS repository by cvs2svn & git.

My testing machine spec is: CPU=Core Duo U2400 @ 1.06GHz,
RAM=2GB. The total time of simple conversion was about 10
minutes.

=====================================
cvs2svn --options=cvs2svn-git.options

NOTE: the sample option files included in cvs2svn package
      assumes the character encoding of cvs log message as
      ASCII. It makes the cvs2svn aborted. I changed the
      default encoding to UTF-8 and fallback encoding to
      Latin-1, please check cvs2svn-example.options, you can
      find something like:

ctx.cvs_author_decoder = CVSTextDecoder(
    [
        #'latin1',
        'utf8',
        #'ascii',
        ],
    #fallback_encoding='ascii'
    fallback_encoding='latin1'
    )

      If changed like this, cvs2svn has finished successfully.
=====================================
cvs2svn Statistics:
------------------
Total CVS Files:              2449
Total CVS Revisions:         24362
Total CVS Branches:           2977
Total CVS Tags:              36955
Total Unique Tags:              82
Total Unique Branches:           9
CVS Repos Size in KB:        61275
Total SVN Commits:            4523
First Revision Date:    Wed Sep 24 21:51:20 1997  
Last Revision Date:     Fri Dec 26 08:52:00 2008  
------------------
Timings (seconds):
------------------
297.5   pass1    CollectRevsPass
  0.9   pass2    CleanMetadataPass
  0.0   pass3    CollateSymbolsPass
 10.8   pass4    FilterSymbolsPass
  0.1   pass5    SortRevisionSummaryPass
  0.1   pass6    SortSymbolSummaryPass
 15.2   pass7    InitializeChangesetsPass
 11.0   pass8    BreakRevisionChangesetCyclesPass 
 11.2   pass9    RevisionTopologicalSortPass
  7.1   pass10   BreakSymbolChangesetCyclesPass   
 13.6   pass11   BreakAllChangesetCyclesPass
 13.1   pass12   TopologicalSortPass
 22.0   pass13   CreateRevsPass
  0.4   pass14   SortSymbolsPass
  0.5   pass15   IndexSymbolsPass
 14.6   pass16   OutputPass
418.2   total

=========================================================================
"cat cvs2svn-tmp/git-blob.dat cvs2svn-tmp/git-dump.dat | git fast-import"
=========================================================================
git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:      55000
Total objects:        50105 (      5540 duplicates                  )
      blobs  :        22442 (       929 duplicates      19938 deltas)
      trees  :        23059 (      4611 duplicates      19616 deltas)
      commits:         4522 (         0 duplicates          0 deltas)
      tags   :           82 (         0 duplicates          0 deltas)
Total branches:          21 (        29 loads     )
      marks:     1073741824 (     27893 unique    )
      atoms:           1562
Memory total:          3969 KiB
       pools:          2251 KiB
     objects:          1718 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize =   33554432
pack_report: core.packedGitLimit      =  268435456
pack_report: pack_used_ctr            =        144
pack_report: pack_mmap_calls          =          8
pack_report: pack_open_windows        =          1 /          1
pack_report: pack_mapped              =   13253387 /   13253387
---------------------------------------------------------------------

real    1m23.755s
user    1m14.687s
sys     0m5.508s
=========================================================================

The result of my excersize is available from:

http://gyvern.ipc.hiroshima-u.ac.jp/~mpsuzuki/dot-git_freetype-savannah.tar.bz2

(about 30M)

If you extract the tarball, it creates .git in the present
working directory.

Regards,
mpsuzuki

On Thu, 25 Dec 2008 14:03:44 -0500
James Cloos <address@hidden> wrote:

>>>>>> "mpsuzuki" == mpsuzuki  <address@hidden> writes:
>
>mpsuzuki> It seems that current cvs2svn supports a conversion from
>mpsuzuki> CVS to git (http://cvs2svn.tigris.org/cvs2git.html),
>
>That is the tool git devs currently recommend for cvs to git.
>
>mpsuzuki> but requires local file access to CVS repository. Is it
>mpsuzuki> possible to have such access on savannah?
>
>The raw repo can be grabbed from:
>
>  rsync://cvs.sv.gnu.org/sources/freetype/
>
>It is currently 67457380 octets in 2465 files.
>
>A quick test suggests that the conversion should work well.
>
>The --fallback-encoding option (or its option-file equivilent) will
>be needed, and it'll take about 10 minutes on a high-end box.
>
>-JimC
>-- 
>James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6




reply via email to

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