comparison tests/test-help.t @ 49172:5ad37b5bfb31

diff: add help text to highlight the ability to do "merge diffs" Differential Revision: https://phab.mercurial-scm.org/D12605
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 04 May 2022 13:39:49 -0400
parents a932cad26d37
children 22279b604a88
comparison
equal deleted inserted replaced
49171:2c0570a6d5ae 49172:5ad37b5bfb31
642 Differences between files are shown using the unified diff format. 642 Differences between files are shown using the unified diff format.
643 643
644 Note: 644 Note:
645 'hg diff' may generate unexpected results for merges, as it will 645 'hg diff' may generate unexpected results for merges, as it will
646 default to comparing against the working directory's first parent 646 default to comparing against the working directory's first parent
647 changeset if no revisions are specified. 647 changeset if no revisions are specified. To diff against the conflict
648 regions, you can use '--config diff.merge=yes'.
648 649
649 By default, the working directory files are compared to its first parent. 650 By default, the working directory files are compared to its first parent.
650 To see the differences from another revision, use --from. To see the 651 To see the differences from another revision, use --from. To see the
651 difference to another revision, use --to. For example, 'hg diff --from .^' 652 difference to another revision, use --to. For example, 'hg diff --from .^'
652 will show the differences from the working copy's grandparent to the 653 will show the differences from the working copy's grandparent to the