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

Re: TortoiseSVN assertion failed

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 23 Dec 2011 02:52:58 +0100

On Fri, Dec 23, 2011 at 01:48:58AM +0100, Stefan Sperling wrote:
> On Thu, Dec 22, 2011 at 06:16:58PM +0100, Thomas Krebs wrote:
> > When I checkout a project the icons do not get the Tortoise overlay
> > icons and when I right click on the project directory the Windows
> > shell crashes. This is absolutely reproducibly.
> > Using the command line tools I can produce the following error with
> > svn diff:
> > svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.7.3\ext\subversion\subversion\libsvn_wc\wc_db.c'
> > line 6846: assertion failed (repos_id == last_repos_id)
> >
> This is probably a file external which points to a foreign repository.

Are you sure you checked out a new working copy before this happened?
It wasn't upgraded from a 1.6 working copy?

Can you get the sqlite3 command shell program from
http://sqlite.org/download.html , e.g.
http://sqlite.org/sqlite-shell-win32-x86-3070900.zip ,
and run the following commands in cmd.exe in the working copy?
This will help us understand the problem better.

In the top-level directory of the working copy, run this:
  sqlite3 .svn\wc.db

This will prompt with 'sqlite>'. Enter:
  select repos_id from nodes where local_relpath = '';
  select repos_id, local_relpath from nodes where file_external is not null;

If my suspicion about file externals is correct this should provide some
insight. Normally the repos IDs shown in the first column should all match up.
In your case there will be one or more paths shown with a repos_id that
differs. Can you check the corresponding external definitions for correctness?
Do you have any idea when and how these externals definitions were set
and which client version was used to set them?

Thanks for your help!
Received on 2011-12-23 02:53:34 CET

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

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