[Kde-scm-interest] startup help converting with svn2git

Andreas Pakulat apaku at gmx.de
Thu Feb 25 22:45:40 CET 2010


Hi,

I've started to play with svn2git for converting kdevelop/kdevplatform.
Unfortunately svn-all-fast-export crashes relatively early in the
process. The rulefile is very basic for now:

,----
| create repository kdevelop
| end repository
| 
| # Ignore some upheaval in KDE's SVN history.
| match /
|   min revision 409202
|   max revision 409210
| end match
| match /
|   min revision 411973
|   max revision 411973
| end match
| 
| 
| #
| # KDevelop rules
| #
| match /trunk/KDE/kdevelop
|   repository kdevelop
|   branch master
| end match
| 
| match /trunk/extragear/sdk/kdevelop
|   repository kdevelop
|   branch master
| end match
| 
| 
| # Ignore everything else
| match /
| end match
`----

I think this might be the first revision it encounters that has
trunk/KDE/kdevelop in it, at least the output says that it didn't find
something to do on earlier revisions. My main question is, should I just
ignore the problematic revision? Or is there something else that can be
done?

Backtrace:
#0  0xb718a906 in raise () from /lib/libc.so.6
#1  0xb718de05 in abort () from /lib/libc.so.6
#2  0xb7472eb7 in qt_message_output (msgType=QtFatalMsg, buf=0xbf4c9d8
"Failed to write to process: Error writing to process")
    at /home/andreas/src/kde-qt/src/corelib/global/qglobal.cpp:2250
#3  0xb74730c1 in qt_message (msgType=QtFatalMsg, msg=0x8062940 "Failed
to write to process: %s", ap=0xbfd08414 "0\371\223\b\036\002")
    at /home/andreas/src/kde-qt/src/corelib/global/qglobal.cpp:2296
#4  0xb747312f in qFatal (msg=0x8062940 "Failed to write to process:
%s") at /home/andreas/src/kde-qt/src/corelib/global/qglobal.cpp:2479
#5  0x08057831 in QIODevice_write (baton=0x88e8044, 
    data=0xbfd4ee8 "# KDE Config File\n[General]\nName=Simple PHP
script\nCategory=PHP\nComment=This generates a simplistic 'Hello world'
program in PHP
(http://www.php.net)\nDefaultDestinatonDir=HOMEDIR/public_html\nFileTempl"...,
len=0xbfd084f8) at svn.cpp:237
#6  0xb7148146 in svn_stream_write () from /usr/lib/libsvn_subr-1.so.1
#7  0xb714826b in ?? () from /usr/lib/libsvn_subr-1.so.1
#8  0x0b156e68 in ?? ()
#9  0x0bfd4ee8 in ?? ()
#10 0xbfd084f8 in ?? ()
#11 0xb710287d in apr_palloc () from /usr/lib/libapr-1.so.0
#12 0xb7148146 in svn_stream_write () from /usr/lib/libsvn_subr-1.so.1
#13 0xb7148856 in svn_stream_copy3 () from /usr/lib/libsvn_subr-1.so.1
#14 0xb71488cd in svn_stream_copy () from /usr/lib/libsvn_subr-1.so.1
#15 0x08057399 in dumpBlob (txn=0x8931468, fs_root=0xc20e798, 
    pathname=0xb64b9c0
"/trunk/KDE/kdevelop/languages/php/app_templates/phphello/phphello.kdevtemplate",
finalPathName=..., pool=0xa3745c8)
    at svn.cpp:291
#16 0x08058fbc in SvnRevision::exportInternal (this=0xbfd08874, 
    key=0xb64b9c0
"/trunk/KDE/kdevelop/languages/php/app_templates/phphello/phphello.kdevtemplate",
change=0xad5b380, path_from=0x0, rev_from=-1, 
    current=..., rule=...) at svn.cpp:645
#17 0x08059a81 in SvnRevision::exportDispatch (this=0xbfd08874, 
    key=0xb64b9c0
"/trunk/KDE/kdevelop/languages/php/app_templates/phphello/phphello.kdevtemplate",
change=0xad5b380, path_from=0x0, rev_from=-1, 
    changes=0xad5afb8, current=..., rule=..., pool=0xa964d48) at
svn.cpp:555
#18 0x08059d4e in SvnRevision::exportEntry (this=0xbfd08874, 
    key=0xb64b9c0
"/trunk/KDE/kdevelop/languages/php/app_templates/phphello/phphello.kdevtemplate",
change=0xad5b380, changes=0xad5afb8) at svn.cpp:521
#19 0x0805a0c5 in SvnRevision::prepareTransactions (this=0xbfd08874) at
svn.cpp:446
#20 0x0805a1c5 in SvnPrivate::exportRevision (this=0x8901d00,
revnum=410637) at svn.cpp:419
#21 0x0805a284 in Svn::exportRevision (this=0xbfd08990, revnum=410637)
at svn.cpp:138
#22 0x0805d43e in main (argc=6, argv=0xbfd08af4) at main.cpp:126

Andreas

-- 
Your temporary financial embarrassment will be relieved in a surprising manner.


More information about the Kde-scm-interest mailing list