Subversion (using VisualSVN/Tortoise) refuses to pull down new files

风格不统一 提交于 2019-11-26 16:46:07

问题


A problem has started occurring recently in which some new files added to the subversion repositories don't get pulled down to other clients after doing an Update.

If I browse the repository with Tortoise I can see the file. I can then right click on it and select 'Update to revision', which will pull the file down to the client. Unfortunately this is very time consuming as there is no way to pull down all files in a folder - i.e. I have to do this for each file individually.

The weird thing is, it doesn't occur with all files and it is not occurring on all client machines. I have tried totally deleting the working folder and pulling it all down again but the problem persists.

I am using the latest versions of Tortoise and VisualSVN.

Anyone else seen something like this?


回答1:


Known bug in TortoiseSVN 1.6.1: if you add an empty folder, the folder depth in your working copy will be restricted to "empty". You can work around this by updating once with the "update to revision..." dialog and selecting "fully recursive" as depth.

This has been fixed in 1.6.2.

edit: note that TortoiseSVN uses the SVN client library, which is where the bug was. The command line client had the same problem.




回答2:


The only thing that I can think of is maybe it has to do with the 1.5 to 1.6 transition? Make sure everyone has a 1.6-based version of tortoiseSVN and try again perhaps.

Also, the way you are phrasing the question makes it sound like you are using SVN for distribution of files instead of concurrency. If that is the case, consider a tool like Unison instead of SVN.




回答3:


I just happen to have the same problem. Here is a solution :

svn update `svn ls`

Yes, I know this problem is far from now, but it still comes up high in web search.



来源:https://stackoverflow.com/questions/866835/subversion-using-visualsvn-tortoise-refuses-to-pull-down-new-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!