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

bug report for svn_ra_dav__get_repos_root()

From: plasma <plasmaball_at_pchome.com.tw>
Date: 2004-01-15 07:40:54 CET

Hi all,

  I was tracing a strange error in svk, and found get_repos_root()
returns an incorrect result if the target is a repo root.

I grep the source files, and only find blame use the call. The
following receipe requires a gdb:

gdb svn
break main
run blame http://svn.collab.net/repos/svn/
break blame.c:svn_client_blame
c
b 397 # [Note 1]
c
set variable kind = svn_node_file
b 408 # [Note 2]
c
(gdb) p reposURL
$1 = 0x8088518 "http://svn.collab.net/repos/sv"

[Note 1]: the line is 'if (kind == svn_node_dir)'.
[Note 2]: the next line of 'SVN_ERR (ra_lib->get_repos_root
          (session, &reposURL, pool));'

My subversion is 0.36.0. Since I'm not good at C, I hope somebody
could fix this bug. :)

plasma

==========================================================
 <<<家裡有寶寶的父母請進>>>
 http://edm-prg.epaper.com.tw/click.php?ad_code=54833
==========================================================
 PChome交友~~幸福天天有 \*^o^*//
 http://love.pchome.com.tw/
==========================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 15 07:41:37 2004

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