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

Re: Some overlooked single-db-isms?

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 03 Sep 2010 08:23:47 +0100

Thanks for catching this. I'll cook up a test and fix it.

- Julian

On Fri, 2010-09-03 at 01:22 -0400, C. Michael Pilato wrote:
> Tonight I ran into a codepath which triggers and assertion.
> $ svn up
> subversion/libsvn_wc/wc_db.c:383: (apr_err=235000)
> svn: In file 'subversion/libsvn_wc/wc_db.c' line 9823: assertion failed
> (!update_stub)
> Aborted
> The assertion is in svn_wc__db_temp_op_set_rev_and_repos_relpath(),
> asserting that, when in single-db mode, the caller didn't pass
> update_stub=TRUE. Well, tweak_entries() (in update_editor.c) ultimately
> does exactly that via call to tweak_node() with parent_stub=TRUE, and that's
> what caused my assertion.
> There's another call to tweak_node() in do_update_cleanup() that also passes
> parent_stub=TRUE. I can only assume that, too, can trigger the assertion.
> But I haven't run into it in practice myself yet.
Received on 2010-09-03 09:26:16 CEST

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