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?
I created the following folders:
/myproj
/myproj/lib
under a folder already checked out.
I svn added and committed them, then updated the parent folder to make sure everything was good.
- 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"
- i committed the lib folder
- 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.
If you are using Sparse Directory checkout (custom selection of files), try following command:
If you don't have command line tools available try
TortoiseSVN -> Update to revision... -> Update Depth = Fully recursive, Make depth sticky = turn off
More details here.
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
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.
number 3:
the property format is:
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.
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.