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

ra_dav bug?

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-11-17 19:15:46 CET

I just updated svn to r7776, and found ra_dav seems to generate
additional apply_textdelta calls.

I tested with a simple perl script trying to have the tree delta between
r7778 and r7779 of the svn repository:

  my $ra = SVN::Ra->new(url => 'http://svn.collab.net/repos/svn/trunk',
                        auth => $auth,
                        pool => SVN::Pool->new,
                        config => $config);

  my $editor = SVN::Delta::Editor->new (_debug => 1);
  my $reporter = $ra->do_update (7779, undef, 1, $editor);
  $reporter->set_path ('', 7778, 0);
  $reporter->finish_report ();

with 0.32.1 I got the normal editor calls (see first attachment). but
with the trunk build, I get an additional apply_textdelta with empty
base digest before the expected apply_textdelta with correct base
digest. I think this might be caused by the recent ra_dav improvements.

Cheers,
CLK

debug at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 131.
SVN::Delta::Editor::set_target_revision: SVN::Delta::Editor=HASH(0x827be94),7779 at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::open_root: SVN::Delta::Editor=HASH(0x827be94),7778,_p_apr_pool_t=SCALAR(0x829195c) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::open_directory: SVN::Delta::Editor=HASH(0x827be94),www,,7778,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk/www,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::open_file: SVN::Delta::Editor=HASH(0x827be94),www/project_issues.html,,7778,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk/www/project_issues.html,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::apply_textdelta: SVN::Delta::Editor=HASH(0x827be94),,b34a2833e2e91c0d8db47c409793df35,_p_apr_pool_t=SCALAR(0x829195c) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::close_file: SVN::Delta::Editor=HASH(0x827be94),,0b7f85abd5229262d6ba9958c386d021,_p_apr_pool_t=SCALAR(0x829195c) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x82919c8) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::close_directory: SVN::Delta::Editor=HASH(0x827be94), at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x8291b24) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x8291b24) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x827be94),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x8291b24) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::close_directory: SVN::Delta::Editor=HASH(0x827be94), at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::close_edit: SVN::Delta::Editor=HASH(0x827be94) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.
SVN::Delta::Editor::DESTROY: SVN::Delta::Editor=HASH(0x827be94) at /usr/local/lib/perl5/site_perl/5.8.0/mach/SVN/Delta.pm line 140.

debug
SVN::Delta::Editor::set_target_revision: SVN::Delta::Editor=HASH(0x82f4454),7779
SVN::Delta::Editor::open_root: SVN::Delta::Editor=HASH(0x82f4454),7778,_p_apr_pool_t=SCALAR(0x82f4664)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:uuid,65390229-12b7-0310-b90b-f21a5aa7ec8e,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::open_directory: SVN::Delta::Editor=HASH(0x82f4454),www,,7778,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk/www,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_dir_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:uuid,65390229-12b7-0310-b90b-f21a5aa7ec8e,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::open_file: SVN::Delta::Editor=HASH(0x82f4454),www/project_issues.html,,7778,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:wc:ra_dav:version-url,/repos/svn/!svn/ver/7779/trunk/www/project_issues.html,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-rev,7779,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:committed-date,2003-11-17T14:44:18.688578Z,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:last-author,sussman,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::change_file_prop: SVN::Delta::Editor=HASH(0x82f4454),,svn:entry:uuid,65390229-12b7-0310-b90b-f21a5aa7ec8e,_p_apr_pool_t=SCALAR(0x82f46d0)
SVN::Delta::Editor::apply_textdelta: SVN::Delta::Editor=HASH(0x82f4454),,,_p_apr_pool_t=SCALAR(0x82f4628)
SVN::Delta::Editor::apply_textdelta: SVN::Delta::Editor=HASH(0x82f4454),,b34a2833e2e91c0d8db47c409793df35,_p_apr_pool_t=SCALAR(0x82f4664)
SVN::Delta::Editor::close_file: SVN::Delta::Editor=HASH(0x82f4454),,0b7f85abd5229262d6ba9958c386d021,_p_apr_pool_t=SCALAR(0x82f4664)
SVN::Delta::Editor::close_directory: SVN::Delta::Editor=HASH(0x82f4454),
SVN::Delta::Editor::close_directory: SVN::Delta::Editor=HASH(0x82f4454),
SVN::Delta::Editor::close_edit: SVN::Delta::Editor=HASH(0x82f4454)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 19:17:04 2003

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.