mpyrpcmp (deprecated)

Compare two repositories and generate a detailed comparison report. This tool analyzes two directory structures (typically code repositories) and categorizes files as new, copied, or modified. It excludes copyright headers from comparison to focus on actual code changes.

The result is written to a Markdown file, as default to FILES.md. A repository name has to be specified to be used in the title of the Markdown file.

Usage

mpyrpcmp left_repo right_repo --rpname name [options]

Examples

Basic Comparison

Compare two repository versions:

mpyrpcmp ./my-fork ./upstream --rpname MyFork

This will produce a FILES.md like the following

# Files in MyFork

## New Files

- src/new_solver/newSolver.C
- src/new_solver/newSolver.H
- applications/utilities/customTool/customTool.C

## Modified Files

- src/finiteVolume/interpolation/interpolation.C
- applications/solvers/multiphase/solver.C

## Copied Files

- src/mesh/meshTools/meshTools.C
- wmake/rules/General/general