为什么我的 TortoiseSVN window 缺少添加到更改列表的选项?

Why is the option to add to a changelist missing from my TortoiseSVN window?

我想将这些文件移动到我为自动生成的文件准备的更改列表中。




但是如您所见,该选项不存在。此外,每当我尝试简单地将它们添加到忽略列表时,我都会收到一条错误消息,指出这是不可能的。



如您所见,我已经将类似的文件添加到此更改列表中。



知道为什么在提交 window 时我不能对某些文件执行此操作吗?如有必要,我很乐意提供更多信息。


我已经使用这些选项进行了 SVN 清理,但无济于事。


因为那些文件不是文件,而是目录。 changelists 功能仅适用于文件:

Changelist Limitations

Subversion's changelist feature is a handy tool for grouping working copy files, but it does have a few limitations. Changelists are artifacts of a particular working copy, which means that changelist assignments cannot be propagated to the repository or otherwise shared with other users. Changelists can be assigned only to files—Subversion doesn't currently support the use of changelists with directories. Finally, you can have at most one changelist assignment on a given working copy file. Here is where the blog post category and photo service tag analogies break down—if you find yourself needing to assign a file to multiple changelists, you're out of luck.

如果我理解你的最终目标,你需要父目录中的 svn:ignore 属性。

  • 要忽略 App_Data,请将根文件夹的 svn:ignore 设置为 App_Data
  • 要忽略 cache,请将 svn:ignore 设置为 cache for App_Data