A tool for editing version-control repository history.

reposurgeon enables risky operations that version-control systems don't want to let you do, such as editing past comments and metadata and removing commits. It works with any version control system that can export and import git fast-import streams, including git, hg, fossil, bzr, CVS, RCS, bk, and src. It can also read Subversion dump files directly and can thus be used to script production of very high-quality conversions from Subversion to any supported DVCS.


reposurgeon-3.45.tar.xzcompressed source tarball
COPYINGproject license
NEWSproject news
TODOto-do file
reposurgeon-3.45.md5source tarball MD5 checksum
repomapper.htmlHTML rendering of repomapper.1
reposurgeon.htmlHTML rendering of reposurgeon.1
dvcs-migration-guide.htmlDVCS migration HOWTO
reporting-bugs.htmlHow to report bugs
repotool.htmlHTML rendering of repotool.1
repocutter.htmlHTML rendering of repocutter.1
features.htmlHow reposurgeon wins

The project repository is at

Project statistics are available at OpenHub.

There is a project IRC channel.

If you appreciate this code (and especially if you make money by using it) please support me on Patreon.

Recent Changes

3.45: 2018-08-24::
     Repaired the distribution maker to again include README.adoc, NEWS, TODO.
     Executable bits are now correctly propagated across SVN branch copies.
     Tests fall back to (c-)python if pypy is not available.
     Various minor testsuite and port fixes. Tests now work on Mac OS X.
     repocutter ported to Go for 40x speedup (more on large repos).
     repomapper has been ported to Go; repodiffer has been retired.


This work is funded by...

My Bronze supporters on Patreon: Martin Hohenberg, Jae Yang, Daniel Garber, Kyle Burkholder, Mike Nichols, Mark Ping, Tom Taylor, Arnold F. Williams, George Brower, Michael Nygard, Brendan Long, Sven Dowideit, Dave Witten, Jonathan Cast, James Cronin, David L. Jessup, Christopher Chang, Killer Delicious, Jacob Lyles, Neil Anuskiewicz, Mordant, Clemens Ladisch, Wojciech Woytniak, Masa Bando, John Carmack, Xingyu Wang, Jane Tang, Steven Evans.

My Institutional supporters on Patreon: Jason Azze and the DEVOPS team at his $DAYJOB.