SVN不会忽略目录。

huangapple go评论40阅读模式
英文:

SVN won't ignore directory

问题

我正在使用TortoiseSVN客户端,并且想要忽略Python项目中的venv/目录。我将svn:ignore属性设置在根目录中为venv/ - 没有结果。我在根目录中设置svn:ignorevenv/并递归应用到所有文件夹(不是必要的,只是为了确保) - 没有结果。我将文件夹添加到版本控制,并在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:ignorevenv(不包含斜杠)起到了作用,尽管我查阅的每个来源都说不同的话。

英文:

Set svn:ignore in root directory to venv without slash did the trick, despite every source I checked said different.

huangapple
  • 本文由 发表于 2023年6月5日 15:14:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76404220.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定