Reputation: 199
I am having a little problem with tortoise SVN: in Visual Studio 2010, when updating my solution to the latest version (right click on the top solution node), it takes 2 minutes. However, if I select all the projects nodes of my solution and update to the latest version, it is done in a matter of seconds.
What could explain this situation?
Upvotes: 0
Views: 513
Reputation: 43575
when you update the solution, you update from the directory the *.sln file is in. That includes all your bin/obj/tmp/... folders that are not under version control at all but still affect svn.
if you update all projects, then svn updates each folder the .proj (.csproj, *.vcproj, ...) is in, and those don't contain the bin/obj/tmp folders. So that update runs a lot faster.
if you want to speed up updating the solution: add all folders that contain unversioned items to the ignore list (i.e. set the svn:ignore property on the solution folder for those unversioned folders). That will tell svn that it does not have to check all the files in those folders and updating will be much faster.
Upvotes: 0
Reputation: 16029
When you are updating at the solution level it causes an svn update
on the root directory, probably it contains more directories then are available in your solution in Visual Studio. In other words, some subdirectories of the root directory are not visible in your solution in Visual Studio.
Upvotes: 1