[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Confusing error message when updating colliding externals

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Mon, 18 Jun 2012 08:21:30 +0000

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 
Received on 2012-06-18 10:22:07 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.