git - Mercurial - "future auditing"是什么?

标签 git mercurial branch

我正在阅读 the docs .在关于 Mercurial 的书签系统的部分,我读到:

Bookmarks can be used as an alternative to NamedBranches for tracking multiple lines of development. Systems like Mercurial, CVS, and Subversion store their branch information as a permanent part of each commit. This is useful for future auditing of long-lived branches, as it’s always possible to identify which branch a commit was introduced on. Git, by contrast, has “branches” that are not stored in history, which is useful for working with numerous short-lived feature branches, but makes future auditing impossible.

我尝试在网上搜索与 Mercurial 相关的“ future 审计”,但几乎每篇文章都有与上面引用的完全相同的文本,就好像他们都从同一个地方偷走了这个文档。

这个在 git 中被认为是不可能的神秘的“ future 审计”是什么?

谢谢。

最佳答案

这与“Deleting git branch looses audit”中提到的审计相同:

git 中的分支可以随时删除或重命名。

if the merge was not a fast-forward you will see that the commits were made to a branch that was later merged, but you won't know what the branch was originally called.

您可以在 More On Mercurial vs. Git (with Graphs!) 中看到它的插图(2011)

关于git - Mercurial - "future auditing"是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32492973/

相关文章:

git 未检测到某些文件的更改

git - 审阅更改提交后更新 pull 请求未显示在 pull 请求中

git - 相当于 future 贡献者 pull 的 "git update-index --skip-worktree <file>"吗?

mercurial - Mercurial 中的 MQ 与分支

Git checkout commit,做一些事情,然后回到 master

java - 在 Eclipse 中同时运行两个项目(trunk 和 branch)

python - Django + twitter bootstrap + github 最优雅的方法是什么?

mercurial - 这是一个好的集中式DVCS工作流程吗?

mercurial - 如何为名称遵循模式的标签创建 revset 别名?

git - 你可以重用删除的 Git 分支名称吗?