SVN: missing files in local copy

I am using the Subversion Eclipse client to validate my project from the svn repository. My colleagues made 2 new files that I can see in the remote svn repository, but I can’t get them when I update from the head.
2 files are in the trunk, like me.

Does anyone have an idea?

+6
eclipse svn
source share
4 answers

Perhaps you have a rare check ? Then you can try to explicitly update the files:

svn update path/to/missing/file.txt 
+8
source share

Old question, but I had a similar problem.

This is what I did. Check with

 svn ls 

and compare with

 ls -1 

Then

 svn ls | xargs svn up 

To do this recursively, simply add -R

 svn ls -R | xargs svn up 

Please note that this will take some time if you have a large code base.

+2
source share

You can also explicitly update the version using '-r' and then the current version number:

  svn update -r 1234 path / to / missing / file.txt 
+1
source share

I switched to HEAD and set recursive options in the Eclispe command menu. And now it works :-) Curiously, I was on my head before.

0
source share

All Articles