[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 14:59:32 +0100

On Fri, Dec 23, 2011 at 02:26:12PM +0100, Thomas Krebs wrote:
> Am 23.12.2011 13:08, schrieb Stefan Sperling:
> >Well, is the URL of this file in the same _repository_ as the working
> >copy root folder, or not? One server can serve multiple repositories so
> >your statement doesn't clearly explain the situation.
>
> Yes, in the original server/repository it is in the same
> server/repository, after moving it to the new server it (of course)
> points to the original server/repository. I would not expect it to be
> changed by the transfer.
>
> >
> >Can you show the output of these commands?
> > cd working_copy
> > svn info
> > svn info acisapp.rc
>
> Path: .
> Working Copy Root Path: D:\tools\Nextra_Application-sonne
> URL: https://sonne.mecadtron.de/svn/main/Nextra_Application
> Repository Root: https://sonne.mecadtron.de/svn/main
> Repository UUID: 179b6de1-e90f-224f-a09f-19cd8c20e1bf
> Revision: 19125
> Node Kind: directory
> Schedule: normal
> Last Changed Author: Joachim
> Last Changed Rev: 19125
> Last Changed Date: 2011-12-21 19:01:41 +0100 (Mi, 21 Dez 2011)
>
>
> D:\tools\Nextra_Application-sonne>svn info acisapp.rc
> Path: acisapp.rc
> Name: acisapp.rc
> Working Copy Root Path: D:\tools\Nextra_Application-sonne
> URL: https://merkur.mecadtron.de/svn/main/Acis_Application/acisapp.rc
> Repository Root: https://merkur.mecadtron.de/svn/main
> Repository UUID: 179b6de1-e90f-224f-a09f-19cd8c20e1bf
> Revision: 19127
> Node Kind: file
> Schedule: normal
> Last Changed Author: thomas
> Last Changed Rev: 19056
> Last Changed Date: 2011-11-29 14:47:25 +0100 (Di, 29 Nov 2011)
> Text Last Updated: 2011-12-22 17:38:40 +0100 (Do, 22 Dez 2011)
> Checksum: 2ba869d8c2b25d271149e4fe535f0313a99f1868
>
> I see the situation - the external file points to a URL that is in a
> different server, but even that should work, right?

Ah, this explains it. The repos_id is generated based on root URL and UUID.
So you'll get a different repos_id for the file external.
See create_repos_id() in this file:
https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_wc/wc_db.c

We might need to revisit this and generated unique repos_id's based
on the UUID only. Not sure if that can be made to work without a working
copy format bump though. This would mean a fix could only be released in 1.8.

Try making the URLs match. That should fix the issue.
If you use relative external syntax you should be able to checkout from
either UR.L Put a line like this in the svn:externals property on the
Nextra_Application folder: ^/Acis_Application/acisapp.rc acisapp.rc

Thanks a lot for your help in figuring this out!
Received on 2011-12-23 15:00:10 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.