Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN: Colleague checked in a folder into repository, but I can't Update my version to it

In showing a colleague how to use SVN yesterday, we created a test folder and file within our existing Visual Studio Solution. We'll call it "Test" folder with two files, "Test.ascx" and "Test.ascx.cs". We added it (or Visual SVN added it, 'cos it's awesome), and committed it. We also added and committed other files elsewhere in the project.

We can see it in the repository (and the other files).

Doing an update on my own machine to pull down these new files resulted in the other files being pulled down correctly, BUT the Test folder does not appear. No matter how many times I try Updating from various points in VS and in TortoiseSVN (urgh) Repo browser, it can't see that there are any changes to pull down.

Where am I going wrong?

like image 928
Program.X Avatar asked Apr 30 '09 07:04

Program.X


2 Answers

This is a known problem.

You can use

$ svn update --depth=infinity

to force the update. With TortoiseSVN, use the "Update to revision" command in the Submenu, then change the depth combobox to "fully recursive".

like image 122
Stefan Avatar answered Oct 14 '22 23:10

Stefan


I've had ghost errors like this before and found the easiest work around is to delete the parent folder and update it's parent:

Project Root
    Project
        NewFolder

Delete Project, then Update Project Root

like image 39
Paul Alexander Avatar answered Oct 14 '22 23:10

Paul Alexander