[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Not correct statuses for svn externals

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 18 Jun 2010 16:11:53 +0200

On Fri, Jun 18, 2010 at 04:27:10PM +0300, Igor V. Burilo wrote:
> Hello,
>
> 1. Set svn externals for file limiting it with revision, e.g.
> -r 7403 http://localhost/repos/C.java extC.java
> 2. Make any changes to file after specified revision and commit from another
> place
> 3. Call svn status command with contacting server side(svn status -u -v) and
> as the result got that statuses contain incoming changes for previously
> specified external despite that incoming changes revision is more than
> revision specified in externals, which is wrong, because, for instance,
> update command doesn't propogate changes shown by status command. Also this
> case correctly works if you specify external to folder.
>
> Tried with SVN 1.6.9. OS: Windows 7

Hi Igor,

please file an issue in our bug tracker about this.

I haven't tested 1.6.x yet, but with trunk, svn hits an assertion
trying to update an external pinned to r4 from r4 to r5, which is
even worse and will need to be fixed before 1.7 release. Backtrace below.

Please point to this mailing list thread from the issue filed,
via one of the mail archives listed here:
http://subversion.apache.org/mailing-lists.html

Thank you for your report,
Stefan

(gdb) bt
#0 0x000000020db1f37a in kill () from /usr/lib/libc.so.53.1
#1 0x000000020db702a5 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2 0x000000020a371040 in svn_error_abort_on_malfunction (can_return=1,
    file=0x2066a7140 "subversion/libsvn_wc/update_editor.c", line=4364,
    expr=0x2066a7c60 "entry->schedule == svn_wc_schedule_add")
    at subversion/libsvn_subr/error.c:601
#3 0x000000020a371091 in svn_error__malfunction (can_return=1,
    file=0x2066a7140 "subversion/libsvn_wc/update_editor.c", line=4364,
    expr=0x2066a7c60 "entry->schedule == svn_wc_schedule_add")
    at subversion/libsvn_subr/error.c:624
#4 0x00000002065754a9 in merge_file (work_items=0x7f7ffffbd170,
    install_pristine=0x7f7ffffbd19c, install_from=0x7f7ffffbd190,
    content_state=0x7f7ffffbd1f4, fb=0x205e5a0a0,
    new_text_base_tmp_abspath=0x205e5a330 "/tmp/svn-sandbox/trunk/.svn/svn-Tdh2UB", pool=0x202783028) at subversion/libsvn_wc/update_editor.c:4364
#5 0x0000000206576adf in close_file (file_baton=0x205e5a0a0,
    expected_md5_digest=0x20f7b3320 "ee8ad9efc2ef7ae99c680b613b613f08",
    pool=0x202783028) at subversion/libsvn_wc/update_editor.c:4847
#6 0x0000000206532609 in close_file (file_baton=0x20ae938e8,
    text_checksum=0x20f7b3320 "ee8ad9efc2ef7ae99c680b613b613f08",
    pool=0x202783028) at subversion/libsvn_wc/ambient_depth_filter_editor.c:553
#7 0x000000020b00b6b0 in close_file (file_baton=0x20ae938d8,
    text_checksum=0x20f7b3320 "ee8ad9efc2ef7ae99c680b613b613f08",
    pool=0x202783028) at subversion/libsvn_delta/cancel.c:234
#8 0x000000020b00b6b0 in close_file (file_baton=0x20ae938c8,
    text_checksum=0x20f7b3320 "ee8ad9efc2ef7ae99c680b613b613f08",
    pool=0x202783028) at subversion/libsvn_delta/cancel.c:234
#9 0x000000020159fb01 in update_entry (b=0x20add7e88, s_rev=4,
    s_path=0x20f7470e0 "/trunk/epsilon/zeta", s_entry=0x20ae93638,
    t_path=0x20f7470e0 "/trunk/epsilon/zeta", t_entry=0x202784bd8,
    dir_baton=0x20c240940, e_path=0x2027830a0 "ext.file", info=0x20f7470a0,
    wc_depth=svn_depth_infinity, requested_depth=svn_depth_unknown,
    pool=0x202783028) at subversion/libsvn_repos/reporter.c:887
#10 0x000000020159ffff in delta_dirs (b=0x20add7e88, s_rev=4,
    s_path=0x200613818 "/trunk", t_path=0x20add7f38 "/trunk",
    dir_baton=0x20c240940, e_path=0x2016a9847 "", start_empty=0,
    wc_depth=svn_depth_infinity, requested_depth=svn_depth_unknown,
    pool=0x204bb2028) at subversion/libsvn_repos/reporter.c:1028
#11 0x00000002015a0912 in drive (b=0x20add7e88, s_rev=4, info=0x200613798,
    pool=0x204bb2028) at subversion/libsvn_repos/reporter.c:1195
#12 0x00000002015a0d77 in finish_report (b=0x20add7e88, pool=0x204bb2028)
    at subversion/libsvn_repos/reporter.c:1262
#13 0x00000002015a11e0 in svn_repos_finish_report (baton=0x20add7e88,
    pool=0x204bb2028) at subversion/libsvn_repos/reporter.c:1352
---Type <return> to continue, or q <return> to quit---
#14 0x000000020736dcac in reporter_finish_report (reporter_baton=0x2006130a0,
    pool=0x204bb2028) at subversion/libsvn_ra_local/ra_plugin.c:213
#15 0x0000000206526d35 in svn_wc_crawl_revisions5 (wc_ctx=0x206fd9a28,
    local_abspath=0x204bb2150 "/tmp/svn-sandbox/trunk", reporter=0x207572020,
    report_baton=0x2006130a0, restore_files=1, depth=svn_depth_unknown,
    honor_depth_exclude=1, depth_compatibility_trick=0, use_commit_times=0,
    external_func=0x202212239 <svn_client__external_info_gatherer>,
    external_baton=0x7f7ffffbda30, notify_func=0x4155ef <notify>,
    notify_baton=0x20acb8e60, scratch_pool=0x204bb2028)
    at subversion/libsvn_wc/adm_crawler.c:1000
#16 0x0000000202240398 in update_internal (result_rev=0x7f7ffffbdc20,
    local_abspath=0x204bb2150 "/tmp/svn-sandbox/trunk",
    anchor_abspath=0x204bb25a0 "/tmp/svn-sandbox/trunk",
    revision=0x7f7ffffbde78, depth=svn_depth_unknown, depth_is_sticky=0,
    ignore_externals=0, allow_unver_obstructions=0,
    timestamp_sleep=0x7f7ffffbdc34, send_copyfrom_args=1, innerupdate=0,
    ctx=0x206fd9980, pool=0x204bb2028) at subversion/libsvn_client/update.c:252
#17 0x000000020224077b in svn_client__update_internal (
    result_rev=0x7f7ffffbdc20,
    local_abspath=0x204bb2150 "/tmp/svn-sandbox/trunk",
    revision=0x7f7ffffbde78, depth=svn_depth_unknown, depth_is_sticky=0,
    ignore_externals=0, allow_unver_obstructions=0,
    timestamp_sleep=0x7f7ffffbdc34, send_copyfrom_args=1, innerupdate=0,
    ctx=0x206fd9980, pool=0x204bb2028) at subversion/libsvn_client/update.c:339
#18 0x0000000202240949 in svn_client_update3 (result_revs=0x0,
    paths=0x20acb8e38, revision=0x7f7ffffbde78, depth=svn_depth_unknown,
    depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0,
    ctx=0x206fd9980, pool=0x206fd9028) at subversion/libsvn_client/update.c:391
#19 0x000000000041e122 in svn_cl__update (os=0x206fd9278,
    baton=0x7f7ffffbde20, scratch_pool=0x206fd9028)
    at subversion/svn/update-cmd.c:92
#20 0x0000000000413c2e in main (argc=2, argv=0x7f7ffffbe0a0)
    at subversion/svn/main.c:2299
Received on 2010-06-18 16:12:38 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.