SVN Update doesn’t always get new directories

Category:UncategorizedTag: , , :

Problem:  You run “svn update” on a directory where you *know* there are new folders.   Svn tells you “At revision X” where X = whatever the head revision is (i.e., “everything’s up to date!”) – but that new folder didn’t show up. 

This is because the default is for svn to update folders down to the working copy depth: only check for updates in folders that you’ve already got.  New folders beyond that are beyond the depth and won’t be updated.

To get all of those folders, in Tortoise SVN select “SVN Update to Revision”, and change the update depth to “Fully Recursive.”  Or from the command line, “svn update –depth infinity”

[Note: I may have gotten some or all of this completely wrong, this is just my notes as I’m trying to understand how svn is doing what it’s doing.]

4 thoughts on “SVN Update doesn’t always get new directories

  1. Pingback:
  2. I should add that there are some bugfixes (or more features?) related to these issues in recent updates, so if you’re having problems a good first step is to update to the latest version of svn or tortoise or whatever client you’re using.

  3. Thanks Tony for the tip. I ran into this issue today with TortoiseSVN and your blog pointed me in the right direction!

Comments are closed.