英文:
SVN won't ignore directory
问题
我正在使用TortoiseSVN客户端,并且想要忽略Python项目中的venv/目录。我将svn:ignore属性设置在根目录中为venv/ - 没有结果。我在根目录中设置svn:ignore为venv/并递归应用到所有文件夹(不是必要的,只是为了确保) - 没有结果。我将文件夹添加到版本控制,并在venv中设置svn:ignore属性为* - 所有文件都被忽略了。
为什么不能在SVN中忽略整个目录?是不是根本不可能?我还能尝试什么?
英文:
I am using TortoiseSVN client and I want to ignore venv/ of a Python project. I am setting the svn:ignore property in of the root directory to venv/ - no result. I am setting svn:ignore in root directory to venv/ and apply it recursively to all folders (not necessary, just because I can and for doublechecking) - no result. I add the folder to VCS and set the snv:ignore property in venv to * - all files are ignored.
Why is it not possible to ignore the whole directory in SVN? Is it just not possible? What else can I try?
答案1
得分: 0
设置根目录中的svn:ignore为venv(不包含斜杠)起到了作用,尽管我查阅的每个来源都说不同的话。
英文:
Set svn:ignore in root directory to venv without slash did the trick, despite every source I checked said different.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论