根据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/