Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do internal svn:externals

I'm trying to set up a sort of symbolic link in our subversion repository with svn:externals, but it's not really working all that well. What I want to do is link a folder in one part of the same repository to another, like so:

src/somewhere_else/schema https://svn.acme.com/svn/project/trunk/src/schema

This works fine for truly external resources (ie, directories in a different repo), but I can't get it to work for resources within the same repo like above. I've googled this for a while and it seems like this should be supported, what am I missing?

We're using Subversion 1.5.5 under VisualSVN on a Windows 2003 server installation.

I forgot to mention that I don't get any errors, the folder that should get it's content from the other folder just stays empty.

like image 467
Marcus Stade Avatar asked Jun 01 '09 09:06

Marcus Stade


People also ask

How do I view svn externals?

If you need to see all svn:externals in a directory structure, this is your huckleberry: svn propget -R svn:externals . Logging this here for my own future reference.

What are svn externals?

What are externals definitions? Externals definitions map a local directory to the URL of a versioned resource. The svn:externals property can be set on any versioned directory and its value is a multi-line table of subdirectories and absolute repository URLs.

What is svn URL?

As illustrated throughout this book, Subversion uses URLs to identify versioned resources in Subversion repositories. For the most part, these URLs use the standard syntax, allowing for server names and port numbers to be specified as part of the URL: $ svn checkout http://svn.example.com:9834/repos …


1 Answers

Subversion 1.5 added relative externals.

like image 57
Roger Lipscombe Avatar answered Nov 02 '22 23:11

Roger Lipscombe