[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 13:23:06 +0100

I (Julian Foad) wrote:
> Thanks for catching this. I'll cook up a test and fix it.

Fixed in r992276, with a new test.

- 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 14:24:09 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.