Mercurial:如何制作HG LOG来显示琐碎的父项?

标签 mercurial revision

根据HG manual :

By default this command prints revision number and changeset id, tags, non-trivial parents, user, date and time, and a summary for each commit. When the -v/--verbose switch is used, the list of changed files and full commit message are shown.

我已经尝试过 hg log -v 但它仍然没有显示琐碎的 parent 。

最佳答案

您可以使用--debug选项。

$ hg log --template '{parents}\n' --debug
12:49f2f93d2efdd41c9ffb9dccf4d451e2d8bfbc5f -1:0000000000000000000000000000000000000000 
7:012b1bb5d99549a5a7c1a280755fa6336c0b472a -1:0000000000000000000000000000000000000000 
10:d6dc52582cfaa0e8be17a5b9da61b55692353afc 11:8ee9fa792548fc30669a34cf39fcc7185aabaa19 
8:d589ca45072469148f833f38918861e8de406e64 -1:0000000000000000000000000000000000000000 

关于Mercurial:如何制作HG LOG来显示琐碎的父项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2372159/

相关文章:

visual-studio - Visual Studio 2003预生成脚本找不到'svn'命令

mercurial - Perforce 到 Mercurial 导入

mercurial - hgignore 多行正则表达式

mercurial - 为什么 Mercurial 用德语显示帮助文本?我怎样才能改变这个?

git - 如何在日志中不包含额外的 "committer:"行的情况下转换为 Mercurial?

eclipse - 如何从 Eclipse 资源管理器 View 中隐藏修订号?

mercurial - 执行 HG 更新时出现错误 "repository is not local"

git - 获取特定版本的 ffmpeg 源代码

java - 需要一致的javac和java

linux - 我可以用什么在 Linux 上创建修订 TreeMap 形