[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: Thomas Krebs <Thomas.Krebs_at_mecadtron.de>
Date: Fri, 23 Dec 2011 12:05:43 +0100

Am 23.12.2011 02:52, schrieb Stefan Sperling:
> 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?

The assertion only happens from the working copy checked out from the
new server.

> It wasn't upgraded from a 1.6 working copy?

No, not this 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;
>
Gives:
sqlite> select repos_id from nodes where local_relpath = '';
1
sqlite> select repos_id, local_relpath from nodes where file_external is
not null;
2|acisapp.rc
sqlite>

The file acisapp.rc is an external file.

> 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?

What do you mean with correctness? In the original repository they are
correct in the way that they work. The URL points to a file on the
server like: https://myserver.mydomain.tld/svn/main/.../blabla

> Do you have any idea when and how these externals definitions were set
> and which client version was used to set them?
>

It was done 15. of March 2010. The hole repository was converted from
MS VisualSourceSafe before. As we try to use the most recent version
of available tools it was the VisualSVN/TortoiseSVN available then,
1.6.x maybe?

> Thanks for your help!

Hope this helps.
Thomas
Received on 2011-12-23 12:06:19 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.