问题描述
我在使用 TortoiseSVN 1.8.1 时遇到问题.该问题类似于此处所描述的问题.
I have a problem with TortoiseSVN 1.8.1. The problem is similar to the one described here.
事实上,我有一个包含多个外部文件夹的项目.当我想一次提交多个外部的更改或与我的主项目的更改一起提交时,外部始终是灰色的(如第二张图 此处).我无法选择它们,必须单独提交每个外部.
In fact, I have a project that contains a folder with multiple externals. When I want to commit changes in more than one external at once or together with changes to my main project, the externals are always greyed out (like in the second picture here). I cannot select them and have to commit each external separately.
外部对象的任何父文件夹都会出现问题.外部与我的主项目在同一个存储库中.该问题首先出现在 TortoiseSVN 1.8 中;它适用于 TortoiseSVN 1.7.
The problem occurs with any parent folder of the externals. The externals are in the same repository as my main project. The problem first occured with TortoiseSVN 1.8; it worked with TortoiseSVN 1.7.
这是 TortoiseSVN 1.8 中的错误吗?或者是否有启用此类提交的属性?我是否必须以特殊方式设置我的 externals 属性?
Is this a bug in TortoiseSVN 1.8? Or is there a property to enable such a commit? Do I have to set up my externals property in a special way?
推荐答案
没有错误.这是 TortoiseSVN 的正确行为.
There's no bug. That's TortoiseSVN correct behavior.
外部默认不接受更改.假设您正在使用您不是贡献者或位于您的存储库之外的存储库的外部.TortoiseSVN 可以跟踪文件更改,但您不能同时在两个存储库中执行一次提交.
Externals don't accept changes by default. Suppose you are using an external from a repository that you are not a contributor, or that is located outside of your repository. TortoiseSVN can track the file changes, but you can't perform a single commit in two repositories at once.
即使所有路径都在您的存储库结构中,在两个存储库中执行单次提交也是一种不好的做法.
Even if all paths are in your repository structure, perform single commits in two repositories is a bad practice.
这篇关于TortoiseSVN 1.8:外部在提交对话框中变灰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!