Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Occasionally missing new files from Subversion

Tags:

Here is our scenario:

Developer A checks in changes which include new files files. Developer B does an update and all of a sudden, stuff breaks because files are missing. Developer B tries another update, nothing is pulled in, so he calls Developer A. Developer A says: "Hey, I checked them in, are you blind?" Only when Developer B uses the TortiseSVN Repo Browser does he see that, indeed new files are available. The fix is to 'update item to revision in TortiseSVN Repo Browser. Even if Developer B updates through TortoiseSVN in explorer or the Subversive client in Eclipse, he can't see the new files. We also can't see the file via the SVN command line client in Cygwin.

It doesn't happen all the time, and we can't seem to reproduce it at will. But when it does, it's highly annoying.

like image 755
MikeHoss Avatar asked Jan 21 '10 19:01

MikeHoss


1 Answers

This would happen if the working copy is sparse (a.k.a. shallow, non-recursive). Perhaps that is the problem.

You can tell if a working copy is non-recursive by running svn info on it and looking for a line like Depth: immediates. Normal working copies will not have this line.

like image 69
Michael Hackner Avatar answered Nov 15 '22 05:11

Michael Hackner