Mercurial:使“hg log”不显示文件?
我(ab)使用 Mercurial 来管理数千个经常更改的文件,但我希望能够查看日志(hg log
),而无需让我的术语填充所有文件名每次提交都会发生变化。 hg log -q
有点太安静,因为我需要查看描述。我是否缺少 hg log
的标志?
I'm (ab)using Mercurial to manage thousands of files that change often, but I'd like to be able to view the log (hg log
) without having my term filled with all of the filenames that changed on each commit. hg log -q
is a little too quiet, since I need to see the descriptions. Is there a flag I'm missing for hg log
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来好像您可能打开了
verbose
标志。您可以通过运行hg showconfig
并查找类似ui.verbose=true
的行来进行检查。有几种方法可以修复它:
hg help config
列出可能性)。覆盖存储库的
.hg\hgrc
或私有 Mercurial 配置(Mercurial.ini
或~/.hgrc
)中的标志:将以下行添加到其中:<代码>[ui]
详细=假
清除命令行上的详细标志:
hg log --config ui.verbose=false
。It sounds as if you might have the
verbose
flag turned on. You can check by runninghg showconfig
and looking for a line likeui.verbose=true
.There are a few ways you can fix it:
hg help config
to list the possibilities).override the flag in your repository's
.hg\hgrc
or your private Mercurial configuration (Mercurial.ini
or~/.hgrc
): add the following lines to it:[ui]
verbose=false
clear the verbose flag on the commandline:
hg log --config ui.verbose=false
.