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!

Reply via email to