equal
deleted
inserted
replaced
2534 |
2534 |
2535 .. note:: |
2535 .. note:: |
2536 |
2536 |
2537 :hg:`diff` may generate unexpected results for merges, as it will |
2537 :hg:`diff` may generate unexpected results for merges, as it will |
2538 default to comparing against the working directory's first |
2538 default to comparing against the working directory's first |
2539 parent changeset if no revisions are specified. |
2539 parent changeset if no revisions are specified. To diff against the |
|
2540 conflict regions, you can use `--config diff.merge=yes`. |
2540 |
2541 |
2541 By default, the working directory files are compared to its first parent. To |
2542 By default, the working directory files are compared to its first parent. To |
2542 see the differences from another revision, use --from. To see the difference |
2543 see the differences from another revision, use --from. To see the difference |
2543 to another revision, use --to. For example, :hg:`diff --from .^` will show |
2544 to another revision, use --to. For example, :hg:`diff --from .^` will show |
2544 the differences from the working copy's grandparent to the working copy, |
2545 the differences from the working copy's grandparent to the working copy, |