本文介绍了自定义汞日志输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(Mercurial新手)

(Mercurial newbie)

我试图获取hg日志以提供完整的变更集描述,但没有-v选项给出的文件列表.基本上,我想要默认输出,但要有完整的描述,而不仅仅是第一行.

I'm trying to get hg log to give me the full changeset description, but without the file listing given by the -v option. Basically, I want the default output but with the full description rather than just the first line.

我玩过模板,但是看不到一种方法来做看起来很简单的更改.我是否缺少内置解决方案?

I've played about with templates, but can't see a way to do what seems like it should be a very simple change. Am I missing a built-in solution?

推荐答案

hg log --template ...... --style ...

带有手工制作的模板或样式.

with hand-made template or style.

只需编写

PS:提示-使用{desc}关键字

PS: Hint - use {desc} keyword

这篇关于自定义汞日志输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 09:55