简体   繁体   English

为什么TortoiseHG中的某些更改显示为工作台之间没有线条?

[英]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 addhg 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.

相关问题 Git 保持一些本地更改干净但不推送它们 - Git keep some local changes clean but do not push them git 说我有未暂存的更改,但我没有显示它们 - git says I have unstaged changes but I do not show them 为什么有些模块显示蓝色名称,而有些显示白色名称 - Why do some modules show with blue names and some with white names 为什么有些 Git 分支名称中有斜杠? - Why do some Git branch names have slashes in them? 有没有办法添加 git show 行、更改行和删除行? - Is there a way of having git show lines added, lines changed and lines removed? 为什么在Pull Request中会出现“No Changes”的文件? - Why do files with 'No Changes' show up in a Pull Request? 为什么提交引入的更改不会显示在我的工作树中? - Why do the changes introduced by a commit not show up in my working tree? 为什么还原的文件在下一个补丁集中显示为更改? - why do reverted files show up as changes in the next patchset? 为什么在取消 git commit 后我的更改消失了,我该如何恢复它们? - Why are my changes gone after a cancelled git commit and how do I recover them? 如何列出所有带有更改的行以使用 emacs 在更改之间轻松导航? - How to list all lines with changes to easily navigate between changes with emacs?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM