On Fri, Jul 9, 2010 at 6:45 PM, Ryan Schmidt <subversion-20...@ryandesign.com> wrote: > On Jul 9, 2010, at 17:13, Nico Kadel-Garcia wrote: >> On Fri, Jul 9, 2010 at 4:19 PM, Ryan Schmidt wrote: >>> On Jul 9, 2010, at 14:08, Nico Kadel-Garcia wrote:
>> What I wanted to do was have Subversion check out directories from >> within the same repository, rooted to the top of the repository, so >> that moving a tag or branch up or down wouldn't break the references. >> I'd thought from the documentation about 'relative references' that it >> would apply to the URL of the external repository, so that if the repo >> is checked out as file:///, https:///, svn:///, etc. the URL's for >> svn:externals downloading would be auto-munged appropriately. >> >> Is this not available? > > Yes, it is possible, using the syntax I provided. Thanks, Ryan, I've checked it myself. Do others agree that the documentation in the book and the documentation in the "svn help propset" is also unclear about the order of the arguments? It seems very strange indeed to me tha the arguments for relative addressing are reversed from the arguments URL's for separate repositories. > > On the book page you referred to, scroll down to the part that reads "As of > Subversion 1.5, though, a new format of the svn:externals property is > supported." The old externals syntax, which does not support what you want, > had the format "localdir url". The new format, that does support what you > want, has the format "url localdir" (the parameters are reversed from > before). I know this works because I use it in my repository here: But the old format still works. Are both supported? Because if it is, I've got to say, that's just nasty and confusing. > http://code.google.com/p/canviz/source/checkout > > You can check out a working copy and see it work for yourself, or see: > > $ svn propget svn:externals http://canviz.googlecode.com/svn/canviz/trunk > ^/vendor/excanvas/0...@7 excanvas > ^/path/trunk/l...@262 path > ^/vendor/prototype/1.6.0.3/d...@135 prototype