How to use the -U parameter from hg diff command with hg log command

Viewed 45

I need to display the output of the hg log or hg export commands with the full context, as -U1000 parameter allows when using hg diff.

1 Answers

either specify this in your hgrc or use --config on the command line. diff.unified=1000

For example:

hg log -r 22 -T {diff()} --config diff.unified=1000

Related