You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Johan Kruger <jo...@se.abb.com> on 2011/12/05 11:06:28 UTC

Subversion update error

Hello,

I got this error message while doing an update using TortoiseSVN. The 
folder being updated was using the new WC format.
Here is the version information from the TortoiseSVN about dialog:
TortoiseSVN 1.7.1, Build 22161 - 64 Bit , 2011/10/21 22:51:59
Subversion 1.7.1, 
apr 1.4.5
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.0e 6 Sep 2011
zlib 1.2.5

The Subversion server version is: 1.6.12 (r955767)


The error message:

---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html

Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):

In file
 
'D:\Development\SVN\Releases\TortoiseSVN-1.7.1\ext\subversion\subversion\libsvn_wc\wc_db.c'
 line 2881: assertion failed (svn_dirent_is_ancestor(wcroot->abspath,
 local_abspath))
---------------------------
OK 
---------------------------

Regards
Johan

Re: Subversion update error

Posted by Philip Martin <ph...@wandisco.com>.
Johan Kruger <jo...@se.abb.com> writes:

> In this example the svn:externals property would be set on the 'C:\wc' 
> folder and the property would be set to checkout head revision from URL 
> 'svn://server/repoName' to 
> 'C:\NonExistingFolder\VersionedFolder\ExternalFolder'

There is some code that checks for this, but it doesn't handle
Windows-style paths with drive letters.  I've raised issue 4073

http://subversion.tigris.org/issues/show_bug.cgi?id=4073

-- 
Philip

Re: Subversion update error

Posted by Johan Kruger <jo...@se.abb.com>.
I was just doing a normal update on a working copy using TortoiseSVN. 
The WC contains several folders and some of them have subfolders that are 
svn:externals. Everything (including the externals) are located in the 
same repository. 

Unfortunately, I was unable to reproduce the error. After closing the 
error dialog I tried updating again and this time it worked. 

Now I see that a couple of the externals are using an absolute local path 
and they are pointing to a location that doesn't exist on my computer. 
Also, the externals property was not set on the parent folder where the 
external folder were to be checked out, but on the "grand parent" folder.
Obviously this is not correct, I will change it to use a relative local 
path (i.e. only a folder name) and set the external property on the parent 
folder instead.

Example of the problem. The following WC structure exists:
C:\wc
C:\wc\VersionedFolder\ExternalFolder

In this example the svn:externals property would be set on the 'C:\wc' 
folder and the property would be set to checkout head revision from URL 
'svn://server/repoName' to 
'C:\NonExistingFolder\VersionedFolder\ExternalFolder'

I hope you understand my example. 

/Johan



From:   Philip Martin <ph...@wandisco.com>
To:     Johan Kruger/SEASY/ABB@ABB
Date:   2011-12-06 11:21
Subject:        Re: Subversion update error



Johan Kruger <jo...@se.abb.com> writes:

> I'm sorry. Which users list do you mean?

Your reply to me didn't include users@subversion.apache.org.

-- 
Philip


Re: Subversion update error

Posted by Philip Martin <ph...@wandisco.com>.
Johan Kruger <jo...@se.abb.com> writes:

> 'D:\Development\SVN\Releases\TortoiseSVN-1.7.1\ext\subversion\subversion\libsvn_wc\wc_db.c'
>  line 2881: assertion failed (svn_dirent_is_ancestor(wcroot->abspath,
>  local_abspath))

It appears to be an error adding an svn:externals dir but you have not
provided enough information for us to help.  What were you doing when
this error occurred?  What sort of svn:externals do you have?

-- 
Philip