You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bert Huijben <be...@qqmail.nl> on 2010/07/19 20:21:55 UTC

RE: File externals, 1.5 client, and 1.7 client: dies with with "In file 'subversion/libsvn_wc/adm_ops.c' line 2343: assertion failed (external_repos_relpath != NULL)"


> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s@daniel.shahaf.name]
> Sent: maandag 19 juli 2010 16:38
> To: dev@subversion.apache.org
> Subject: File externals, 1.5 client, and 1.7 client: dies with with "In
> file 'subversion/libsvn_wc/adm_ops.c' line 2343: assertion failed
> (external_repos_relpath != NULL)"
> 
> Originally I had a file external which pointed to the same repository
> but under
> a different server name.  (i.e., under a CNAME rather than under the
> name I
> used during checkout.)  I then checkout'd (rather: svn up --set-
> depth'd) with
> 1.5, which complained about the external being a file external.  So I
> 'svn
> upgrade'd and ran 'up --set-depth' again.  It died with an assertion.

As noted on IRC, I fixed the assertion in r965523. But note that this
doesn't make the scenario work as libsvn_wc can't determine if two different
urls point to the same repository.

I would recommend using repository relative urls for file externals, until
we have a new and proper design on how we want to handle file externals.

	Bert

Re: File externals, 1.5 client, and 1.7 client: dies with with "In file 'subversion/libsvn_wc/adm_ops.c' line 2343: assertion failed (external_repos_relpath != NULL)"

Posted by 'Daniel Shahaf' <d....@daniel.shahaf.name>.
Bert Huijben wrote on Mon, Jul 19, 2010 at 22:21:55 +0200:
> As noted on IRC, I fixed the assertion in r965523. But note that this
> doesn't make the scenario work as libsvn_wc can't determine if two different
> urls point to the same repository.
> 

Thanks.

> I would recommend using repository relative urls for file externals, until
> we have a new and proper design on how we want to handle file externals.
> 

Well, in this case the file external is used to pull configuration from
svn.us.a.o to svn.eu.a.o, so a repos-relative URL might not have the same
semantics.

(My workaround was to relocate that dir in my wc to svn.us.)

> 	Bert
> 

Re: File externals, 1.5 client, and 1.7 client: dies with with "In file 'subversion/libsvn_wc/adm_ops.c' line 2343: assertion failed (external_repos_relpath != NULL)"

Posted by 'Daniel Shahaf' <d....@daniel.shahaf.name>.
Bert Huijben wrote on Mon, Jul 19, 2010 at 22:21:55 +0200:
> As noted on IRC, I fixed the assertion in r965523. But note that this
> doesn't make the scenario work as libsvn_wc can't determine if two different
> urls point to the same repository.
> 

Thanks.

> I would recommend using repository relative urls for file externals, until
> we have a new and proper design on how we want to handle file externals.
> 

Well, in this case the file external is used to pull configuration from
svn.us.a.o to svn.eu.a.o, so a repos-relative URL might not have the same
semantics.

(My workaround was to relocate that dir in my wc to svn.us.)

> 	Bert
>