svn:global-ignores not working?

时光总嘲笑我的痴心妄想 提交于 2019-12-11 18:16:01

问题


I've added bin obj to my root folders
But when I Check for modifications, the obj folder still show up. What happen and what I can do for make it ignore bin & obj folder recursively for all my workingcopy?
I'm using svn version 1.10.0-dev with TortoiseSVN 1.10.0, Build 28176 - 64Bit, 2018/04/14 08:00:32 on Windows 10 64bit.


回答1:


The subversion global-ignores contains collection of file patterns.

The subversion client checks these patterns agains the names of the files that are candidates for addition to the version control and unversioned files.

In your case if you are still seeing the files bin and object files in your root folder at the repository(not the working copy). This means you have added them to version control and after successful addition to version control you have added these patterns of bin and obj to the global-ignores list.

Now you would need to manually un-versioned them first and then do your normal commits and the files with the pattern bin and obj will not be added.



来源:https://stackoverflow.com/questions/50960188/svnglobal-ignores-not-working

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