开发者

SVN : missing files in local copy

开发者 https://www.devze.com 2022-12-10 05:42 出处:网络
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开发

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

精彩评论

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