You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Markus Schaber <m....@3s-software.com> on 2012/06/18 10:21:30 UTC

Confusing error message when updating colliding externals

Hi,

>From the #svn channel just a few minutes ago.

The error message clearly is not that helpful for normal users. Should I file an issue for that?


09:45 < stummi> hi there. I set an external. (svn propedit svn:externals . on the root of the working copy, with the Entry "Extern svn://svnserver/externrepo"). the extern directory "Extern" is on version control. But svn update says "cannot relocate '.../mainrepo/Extern' as it is not the root of a working copy; try relocating '.../mainrepo' instead
                                                                                                                         
09:46 < stummi> what does externals have to do with relocate? Or why does svn think i want to relocate anything? 
                                                   
09:47 < stummi> svn version: svn, Version 1.7.5 (r1336830)
                                                                                                     
09:47 < stummi> from the debian repository 

10:13 < schabi> stummi: Was the "Extern" directory versioned (existing in the working copy) before you added the esternals definition?
 
10:13 < stummi> yes
 
10:13 < schabi> Then that is the problem. Externals are implemented via "nested" working copies (having their own .svn dubdirectory)currently.
 
10:13 < stummi> schabi, i just got fixed it in this moment. Didn't know the the directory should not exist for an external

10:14 < schabi> But the error message could be improved in that case...

10:14 < stummi> yeah, it is a bit confusing 


Best regards

Markus Schaber
-- 
___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 



Re: Confusing error message when updating colliding externals

Posted by Johan Corveleyn <jc...@gmail.com>.
Yes, I think it's a good idea to at least note this in the issue
tracker (makes it at least discoverable by other users running into
it). And if you know how to fix it ... that would be even better of
course :-). But even only having the issue is useful.

-- 
Johan

On Mon, Jun 18, 2012 at 10:21 AM, Markus Schaber
<m....@3s-software.com> wrote:
> Hi,
>
> From the #svn channel just a few minutes ago.
>
> The error message clearly is not that helpful for normal users. Should I file an issue for that?
>
>
> 09:45 < stummi> hi there. I set an external. (svn propedit svn:externals . on the root of the working copy, with the Entry "Extern svn://svnserver/externrepo"). the extern directory "Extern" is on version control. But svn update says "cannot relocate '.../mainrepo/Extern' as it is not the root of a working copy; try relocating '.../mainrepo' instead
>
> 09:46 < stummi> what does externals have to do with relocate? Or why does svn think i want to relocate anything?
>
> 09:47 < stummi> svn version: svn, Version 1.7.5 (r1336830)
>
> 09:47 < stummi> from the debian repository
>
> 10:13 < schabi> stummi: Was the "Extern" directory versioned (existing in the working copy) before you added the esternals definition?
>
> 10:13 < stummi> yes
>
> 10:13 < schabi> Then that is the problem. Externals are implemented via "nested" working copies (having their own .svn dubdirectory)currently.
>
> 10:13 < stummi> schabi, i just got fixed it in this moment. Didn't know the the directory should not exist for an external
>
> 10:14 < schabi> But the error message could be improved in that case...
>
> 10:14 < stummi> yeah, it is a bit confusing
>
>
> Best regards
>
> Markus Schaber
> --
> ___________________________
> We software Automation.
>
> 3S-Smart Software Solutions GmbH
> Markus Schaber | Developer
> Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
>
> Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
> CoDeSys internet forum: http://forum.3s-software.com
> Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
>
> Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
>
>