views:

276

answers:

4

I don't claim to know anything about svn, but I thought I understood how externals work.

I'm making a new project and i want my lib folder to have an external to some other project (svn location). I've done this plenty of times before and never had an issue, am I just having a Friday moment?

  1. I created the following folders:

    /myproj

    /myproj/lib

    under a folder already checked out.

  2. I svn added and committed them, then updated the parent folder to make sure everything was good.

  3. I right clicked -> tortoise -> properties on the lib folder and added my svn external to the path I want (which definitely exists): "MyExternalFolderName http://path.to/svn/location"
  4. i committed the lib folder
  5. when i update the lib folder, usually id expect to see it update the external, but nothing happens. it just says "completed."

What have I forgotten?

Edit: countless reboots, recheckouts and reinstalled have not fixed it.

thanks

A: 

I don't think you have forgotten anything. I think this is a bug in Tortoise; maybe a caching issue.

Do a clean checkout of your repository and it will start working after that.

tvaananen
A: 

number 3:

the property format is:

http://repo/svn/location    MyExternalFolderName

I always advise to use the ^ symbol instead of http://repo/svn because that is a lot easier, works well and is a lot easier to type.

gbjbaanb
The SVN red book says they are like the original poster had it:http://svnbook.red-bean.com/en/1.1/ch07s04.html
tvaananen
Yeah I'm pretty sure its my way round, neither works anyway!
Andrew Bullock
reading the 1.5 version of the manual more carefully, they have examples showing both ways round! the ^ syntax shows <url><folder> which is how I use it. Try with the ^ 'cos that works and I have had issues with explicit urls in the externals property.
gbjbaanb
A: 

Thanks for your help but it looks like TortoiseSVN-1.6.1.16129-win32-svn-1.6.1 is bugged. Great. Their tigris site is also down. Brilliant. 2.5 hours wasted.

Worked around it by making the folder structure and externals i need through the repro browser.

Andrew Bullock
+2  A: 

There is a known bug in TortoiseSVN 1.6.1 where the depth of a newly added folder is set to "empty".

This results in update not working, unless you explicitly update the problematic folder once with the "TortoiseSVN - Update to Revision..." dialog where you can set the depth back to "fully recursive".

edit: TortoiseSVN 1.6.2 has just been released

Wim Coenen