# Overview

## mergediff

Show the changes introduced by a merge.

## Hacking/Testing

Use the mktestrepo script to build a test repository. It has tags a, b and merge, which can be used for generating diffs. For example:

$./mktestrepo ... test repo is built ...$ hg mergediff -r merge

Additionally, the debuglistmerges command, added by mergediff.py, can be used to list all the merge revisions in a repository. For example:

$for mergerev in hg debuglistmerges; do > hg mergediff -r$mergerev > done