[英]Why do some changes in TortoiseHG show as not having lines between them in the workbench?
One of our developers checked in some bogus changesets. 我们的一位开发人员签入了一些伪造的变更集。 The changesets were weird in that if you update to them they only contain a tiny subset of our project even though they do not show any file deletion actions.
变更集很奇怪,因为如果您对其进行更新,即使它们未显示任何文件删除操作,它们也仅包含项目的一小部分。 2) they show up in Kiln (online repo tool) as well as TortoiseHG as having no lines between them
2)它们出现在Kiln(在线回购工具)以及TortoiseHG中,因为它们之间没有线
Does this mean the commits somehow have no parent? 这是否意味着提交以某种方式没有父母? How is this possible?
这怎么可能? What is going on here?
这里发生了什么?
This simply means that commits 19-23 are both heads and roots of your repository. 这仅意味着提交19-23既是存储库的头,也是根。 You can create that by always doing
hg up null
before doing hg add
and hg commit
. 您可以通过在执行
hg add
和hg commit
之前始终执行hg up null
来创建它。 It also happens if the user always started a repository from scratch, then pushed them all with --force
(to avoid the "unrelated" abort) to your repo. 如果用户总是从头开始启动存储库,然后使用
--force
将它们全部推入存储库(以避免“无关”中止),也会发生这种情况。
That said, the commits are not "bogus" in the VCS sense, but are a strong indication that the committer needs HG training, at least regarding your workflow. 就是说,提交在VCS上不是“虚假的”,而是有力的迹象表明提交者需要HG培训,至少在您的工作流程方面。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.