标签: mercurial
我需要显示带有完整上下文的 hg log 或 hg export 命令的输出,因为在使用 -U1000 时 hg diff 参数允许。
hg log
hg export
-U1000
hg diff
答案 0 :(得分:0)
要么在您的 hgrc 中指定它,要么在命令行中使用 --config。 diff.unified=1000
hgrc
--config
diff.unified=1000
例如:
hg log -r 22 -T {diff()} --config diff.unified=1000