开发者

SVN : missing files in local copy

I use Eclipse Subversion client to checkout my project from a svn repository. My coworkers has committed 2 new files which i can see on the svn remote repository but I can't get them when i update开发者_Go百科 from the head.

The 2 files are in the trunk, like me.

Someone have an idea ?


Perhaps you have a sparse checkout? Then you could try do to an explicit update to the files:

svn update path/to/missing/file.txt


Old question, but I had a similar problem.

This is what I did. Check with

svn ls

and compare to

ls -1

Then

svn ls | xargs svn up

To do this recursively just add -R

svn ls -R | xargs svn up

Note that this will take a while if you have a big code base


You can also explicitly update to a revision using '-r' and then the current revision number:

svn update -r 1234 path/to/missing/file.txt


I switched to the HEAD and set the recursive options to full in the Eclispe Team menu. And now it works :-) Curious I was on the head before.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜