macOS
brew install reposurgeonlocal Homebrew formula metadata
sudo port install reposurgeonMacPorts ports tree · devel/reposurgeon/Portfile · source: api.github.com
brew / rank 7322
Edit version-control repository history. Version 5.11 via Homebrew; verified 2026-09-11. Also installable with debian: sudo apt install reposurgeon.
install
brew install reposurgeonlocal Homebrew formula metadata
sudo port install reposurgeonMacPorts ports tree · devel/reposurgeon/Portfile · source: api.github.com
sudo apt install reposurgeonDebian stable package indexes · reposurgeon · source: deb.debian.org
sudo dnf install reposurgeonFedora Rawhide package metadata · reposurgeon · source: dl.fedoraproject.org
nix profile install nixpkgs#reposurgeonnixpkgs package indexes · pkgs/by-name/re/reposurgeon/package.nix · source: api.github.com
overview
Edit version-control repository history
history
reposurgeon is an interactive and scriptable tool for editing and converting version-control history. It can alter metadata and topology, remove or split history, graft repositories, and translate histories between multiple VCS families.
Eric S. Raymond launched reposurgeon in October 2010 and published version 0.1 on 1 November 2010. Its original motivation was cleaning artifacts produced by repository conversions. It grew into an interactive and scriptable history editor plus a suite containing repocutter, repomapper, repotool, and conversion workflows.
The implementation supports fast-export and fast-import streams as a common interchange model and also uses extractors for systems without suitable exporters. This enables both surgical history editing and conversions spanning centralized and distributed version-control systems.
Reposurgeon has been used in conversions of historically important repositories, including Emacs, Blender, NUT, Battle for Wesnoth, groff, and GCC. The GCC conversion handled roughly 280,000 Subversion commits and cut over in January 2020.
Operators import a repository or history stream, inspect its event graph, apply scripted or interactive edits, and write a new history or repository. The tool deliberately writes results separately rather than modifying or deleting the source repository.
Repository migrations preserve the provenance on which source packages depend. Reposurgeon matters to package historians because it can recover, translate, and repair authorship, branches, tags, and ancient RCS/CVS/Subversion strata instead of merely copying snapshots into Git.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
repobench | cli | global executable | |
repocutter | cli | global executable | |
repomapper | cli | global executable | |
reposurgeon | cli | global executable | |
repotool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
http://www.catb.org/esr/reposurgeon/
install metadata
| Package key | brew:reposurgeon |
|---|---|
| Version | 5.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/reposurgeon |
| Homepage | http://www.catb.org/esr/reposurgeon/ |
| Upstream docs | http://www.catb.org/esr/reposurgeon/ |
| License | BSD-2-Clause |
| Source archive | https://gitlab.com/esr/reposurgeon/-/archive/5.10/reposurgeon-5.10.tar.gz |
| Last updated | 2026-09-11T21:00:25Z |
| Pulse | updated |
| Build dependencies | asciidoctor, go, ruby |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | reposurgeon |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
reposurgeon 4.38-2+b5
Tool for editing version-control repository history
http://www.catb.org/esr/reposurgeon/
sudo apt install reposurgeonreposurgeon
nix profile install nixpkgs#reposurgeonreposurgeon 4.38-1
Tool for editing version-control repository history
http://www.catb.org/esr/reposurgeon/
sudo apt install reposurgeonreposurgeon 5.9-3.fc45
SCM Repository Manipulation Tool
https://gitlab.com/esr/reposurgeon
sudo dnf install reposurgeonreposurgeon
sudo port install reposurgeonsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.