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.
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 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.
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 …
Subversion 1.5 added relative externals.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With