Svn – TortoiseSVN missing file in update

svntortoisesvn

We have occasionally had a problem with TortoiseSVN (I assume it's Tortoise and not our SVN repository), where a file will be checked in to the repository (doing a repo-browser you can see the files there), and will exist for the person who committed them, but when another person does an update, those files will not be added to the working copy. If I then choose "Copy to working copy…" from the repo-browser, and attempt a commit, the files are treated as new for me and my client tries to add them, giving an error. Updating also results in some error (I don't know how to reproduce this so I don't know what specifically would cause this and I don't remember the exact errors). I have to then delete the files from the repository, and commit the files as new. After this, everything works fine and the original person has no problems with their files.

The repository is accessed via the svn:// protocol, to a server running version 1.4.6. It is hosted on a Windows Server 2003 machine running as a Windows service.

The repository is laid out as follows:

[repository]/Code/[projects]
[repository]/Code/[Website]/*some page in here*
[repository]/Data/[misc data files]
[repository]/References/[dlls/references]

This almost exclusively happens with .aspx/.aspx.cs/.aspx.designer.cs, and usually all 3 at a time. As if an entire "page" won't be added to my folder. This has happened with Visual Studio open and running the Solution, and also with no Visual Studio open either.

Has anyone seen this before, and do you know the cause/solution?

Best Answer

I also have had the described problem sometimes. Just at the moment, it happened again. Same situation: There were multiple files changed/added/deleted/moved at the SVN server from an SVN client A and SVN client B updated its working copy (using Tortoise SVN). After the update, some of the files which were added from A are not present in the working copy of B, but the repository browser shows them at the correct location at the SVN server. Updating again with Tortoise always claims that everything is at the current revision. Also an "svn up" in the folder where the files are missing says that everything is at the current revision.

I'm using

Tortoise SVN 1.6.6, Build 17493 - 64 Bit

Visual SVN 1.7 (SVN integration into Visual Studio 2008)

Edit: It seems to be a known problem, here is the solution: http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2379518