bryan
bryan

Reputation: 1051

AnkhSVN not pulling in files created by another user in the same solution in VS 2008?

I have a VS sln with about 5 projects that I created along with the majority of the files in each project. I commit changes to SVN via Ankh and it's just peachy. Another developer just started and he can retrieve the files via VS and can also commit to the repository (I aded him as a full control user), but I can't retrieve them via Ankh. I can see the files he's added in the repo-browser, but when getting project updates or even getting the entire sln from the server, I don't get his files.

He can retrieve anything I add, but not the other way around. Is there some user setting that I'm missing that would create this situation? I just noticed it today, and I need his files for unit testing and a full build ASAP. Any ideas?

Thanks.

Upvotes: 1

Views: 700

Answers (3)

Stefan
Stefan

Reputation: 43575

An update of AnkhSVN might help. From your description, you ran into this well known bug: http://tortoisesvn.tigris.org/faq.html#incompleteupdate

To get this working again, update your working copy with the depth set to infinity (since I don't use AnkhSVN, I can't tell you where that option is, but I'm sure there's a way to do that).

Upvotes: 3

Sander Rijken
Sander Rijken

Reputation: 21615

This may be caused by a recently discovered bug in Subversion that's triggered when updating a folder using AnkhSvn. We're in the process of building a workaround for this in AnkhSvn, and a fix in Subversion.

The real fix in Subversion takes a lot of work, and will take some time to get implemented. The workaround in AnkhSvn should be available in AnkhSvn daily builds soon.

The most stable way to fix the problem is to check out a new working copy, and discard the old one. You can safely commit changes from the old working copy, or move that changed files over to the new working copy so you can commit them from there.

Until the workaroudn is in place, don't right-click -> Update folders. Updating at solution/project and file(s) level is safe.

Upvotes: 3

deft_code
deft_code

Reputation: 59269

Do you have an svn conflict? That could prevent a directory from updating.

Other possible explanation is the sln file won't merge his updates into yours, or possibly he's not using visual studio at all. Either way make sure the files are actually missing not just ommitted from the sln file.

Upvotes: 0

Related Questions