SVN timing

Clarence Dang dang at kde.org
Wed Mar 23 12:14:06 GMT 2005


Hi,

I worry about moving to SVN.  I'm not sure it's that mature.  Here are my 
recent experiences with 1.1.3 (for a non-KDE project):

[clarence at celery ours]# svn diff -rBASE:HEAD
Segmentation fault
[clarence at celery ours]#

If you are interested in the details, see the attachment.  Looks like it gets 
confused with a file deleted in another checkout.  I don't yet have time to 
try to reproduce the bug and file a report with the SVN developers.

Clarence
P.S. I am deep in assorted work and may not reply for a few weeks.

On Wed, 23 Mar 2005 08:32 pm, Stephan Kulow wrote:
> Hi!
>
> Now that we have the new hard discs, nothing stops
> us from converting to subversion - beside ourselves.
>
> I'm not sure if waiting for KDE 3.4.1 is needed - I finally
> want to have a merge command that works ;)
>
> After all the performance tweaking Oswald and I did, it
> takes less than 12 hours to convert. So if I take cvs.kde.org
> readonly at 8am, we can have an uptodate svn.kde.org at
> 8pm. We just need to decide on the day. Any suggestions?
> I start with suggesting March 31st. Then we can make the
> "Largest CVS project ever converts to SVN" at the best day
> for announcments: April 1st ;)
>
> Greetings, Stephan
-------------- next part --------------
[clarence at celery ours]# svn diff -rBASE:HEAD
Segmentation fault
[clarence at celery ours]# gdb svn
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) r diff -rBASE:HEAD
Starting program: /usr/local/bin/svn diff -rBASE:HEAD
Error while mapping shared library sections:
: Success.
Error while reading shared library symbols:
: No such file or directory.
[Thread debugging using libthread_db enabled]
[New Thread 1075033280 (LWP 5078)]
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075033280 (LWP 5078)]
0x400272b6 in delete_entry (path=0x8191948 "src/Arith_Overflow.cpp", base_revision=-1,
    parent_baton=0x8115878, pool=0x8191910) at subversion/libsvn_wc/diff.c:812
812       switch (entry->kind)
(gdb) bt
#0  0x400272b6 in delete_entry (path=0x8191948 "src/Arith_Overflow.cpp", base_revision=-1,
    parent_baton=0x8115878, pool=0x8191910) at subversion/libsvn_wc/diff.c:812
#1  0x400ac62e in delete_entry (path=0x8191948 "src/Arith_Overflow.cpp", base_revision=-1,
    parent_baton=0x8115870, pool=0x8191910) at subversion/libsvn_delta/cancel.c:93
#2  0x40051e2e in delta_dirs (b=0x8078190, s_rev=6, s_path=0x81157f8 "/del1/trunk/ours/src",
    t_path=0x81157e0 "/del1/trunk/ours/src", dir_baton=0x8115870, e_path=0x81157d8 "src",
    start_empty=135862544, pool=0x81157a0) at subversion/libsvn_repos/reporter.c:797
#3  0x400519d2 in update_entry (b=0x8078190, s_rev=6, s_path=0x81157f8 "/del1/trunk/ours/src",
    s_entry=0x8115840, t_path=0x81157e0 "/del1/trunk/ours/src", t_entry=0x80ec5c0, dir_baton=0x8092fe0,
    e_path=0x81157d8 "src", info=0x8125c98, recurse=1, pool=0x81157a0)
    at subversion/libsvn_repos/reporter.c:677
#4  0x40051c5d in delta_dirs (b=0x8078190, s_rev=4, s_path=0x8092ef0 "/del1/trunk/ours",
    t_path=0x8077db1 "/del1/trunk/ours", dir_baton=0x8092fe0, e_path=0x40054798 "",
    start_empty=135354272, pool=0x80659a0) at subversion/libsvn_repos/reporter.c:744
#5  0x4005207b in drive (b=0x8078190, s_rev=4, info=0x8092eb8, pool=0x80659a0)
    at subversion/libsvn_repos/reporter.c:852
#6  0x4005228b in finish_report (b=0x8078190, pool=0x80659a0) at subversion/libsvn_repos/reporter.c:913
#7  0x40052405 in svn_repos_finish_report (baton=0x8078190, pool=0x80659a0)
    at subversion/libsvn_repos/reporter.c:965
#8  0x4004396d in reporter_finish_report (reporter_baton=0x0, pool=0x80659a0)
    at subversion/libsvn_ra_local/ra_plugin.c:113
#9  0x400214d3 in svn_wc_crawl_revisions (path=0x8074318 "", adm_access=0x8084850, reporter=0x40045c60,
    report_baton=0x8092e70, restore_files=0, recurse=1, use_commit_times=0, notify_func=0,
    notify_baton=0x0, traversal_info=0x0, pool=0x80659a0) at subversion/libsvn_wc/adm_crawler.c:606
#10 0x400102ef in diff_repos_wc (options=0x8066608,
    path1=0x40045ca0 "\022K\004 at 8J\004@\210:\004@`;\004@\230;\004@�\004@`<\004@<\004 at 8=\004@@B\004@\\C\004 at 0?\004@`?\004@\220?\004@�\004@�\004@\210@\004 at 8<\004 at L<\004@,F\004@\2349\004@\204F\004@",
    revision1=0xbffff6fc, peg_revision=0xbffff3c0, path2=0x8074318 "", revision2=0x0, reverse=1,
    recurse=1, ignore_ancestry=1, callbacks=0xbffff420, callback_baton=0xbffff440, ctx=0x8065e30,
    pool=0x80659a0) at subversion/libsvn_client/diff.c:1963
#11 0x400104fc in do_diff (options=0x8066608, path1=0x8074318 "", revision1=0xbffff6f0,
    path2=0x8074320 "", revision2=0xbffff6fc, recurse=1, ignore_ancestry=1, callbacks=0xbffff420,
    callback_baton=0xbffff440, ctx=0x8065e30, pool=0x80659a0) at subversion/libsvn_client/diff.c:2033
#12 0x40010753 in svn_client_diff (options=0x8066608, path1=0x8074318 "", revision1=0xbffff6f0,
    path2=0x8074320 "", revision2=0xbffff6fc, recurse=1, ignore_ancestry=1, no_diff_deleted=0,
    outfile=0x0, errfile=0x0, ctx=0x808b808, pool=0xbfffefa4) at subversion/libsvn_client/diff.c:2217
#13 0x0804c906 in svn_cl__diff (os=0x80659d8, baton=0xbffff578, pool=0x80659a0)
    at subversion/clients/cmdline/diff-cmd.c:203
#14 0x0804f015 in main (argc=15, argv=0xbffff854) at subversion/clients/cmdline/main.c:1332
(gdb)
[clarence at celery ours]# svn up
D  src/Arith_Overflow.cpp
Updated to revision 19.
[clarence at celery ours]# svn diff -rBASE:HEAD
[clarence at celery ours]#


More information about the kde-core-devel mailing list