Tuesday, January 06, 2009 Register  Login
RSS Feeds
Categories
  
Blog Archives
  
Blog

svn:externals property

I finally got to play with the svn:externals property. This works similarly to the shared project in Visual Source Safe and JEDI VCS.

The usage for this property is a bit awkward, and took me a few tries to get it right. Basically, you have to set this property on the directory above where you want to use it. Here are the steps I took to get this working:

I'm assuming that you have TortoiseSVN installed. Right-click on the folder that will be the parent for the external linked repository. Then Select Properties. Select the Subversion tab.



Click on the Properties button. You should get this:


Click on the Add button. You should get this dialog:


I took this screenshot with the combo box list open so that you can see what's in it.

Make sure that you select svn:externals in the drop down:


The value for this property is basically a two part string. The first part is the name of the physical child directory. The second part is the actual URL to the Subversion repository. These parts are separated by a space.

You are supposed to be able to enter more than one external definition, but I haven't tested it.

Hope you find this useful, as I sure did!

posted @ Tuesday, June 12, 2007 11:50 PM by Hector Sosa, Jr

Previous Page | Next Page

COMMENTS

Thanks for this post. I've been doing this by manually checking out the shared project onto the same machine and using relative paths to access shared libs.

One note: It looks like the folders used in svn:external are not allowed to contain spaces in the names. (I know! I know!.... who the hell would have spaces in their folder names...... sometimes we find ourselves in these places).

Thanks

Glenn

posted @ Sunday, December 30, 2007 4:42 PM by Glenn Halstead


Glenn,

I believe that you can surround the the name and/or the path with quotes to get around this issue.

posted @ Sunday, December 30, 2007 10:46 PM by Hector Sosa, Jr


Name (required)

Email (required)

Website

Enter the code shown above:

Terms Of Use | Privacy Statement | SystemWidgets
Copyright 2002-2008 by SystemWidgets