Summary

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.

Resources


reposurgeon-4.31.tar.xzcompressed source tarball
COPYINGproject license
reposurgeon-4.31.md5source tarball MD5 checksum
NEWS.htmlproject news
repocutter.htmlDocumentation
GoNotes.htmlDocumentation
repository-editing.htmlDocumentation
repotool.htmlDocumentation
repobench.htmlDocumentation
README.htmlroadmap file
INSTALL.htmlDocumentation
repomapper.htmlDocumentation
reposurgeon.htmlDocumentation

The project repository is at https://gitlab.com/esr/reposurgeon.

Project statistics are available at OpenHub.

This is packaged for Debian and derivatives as: reposurgeon

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

     Minor improvements in baton handling.
     repocutter pathrename/sift/expunge REs are constrained to match full path segments
     --nobranch and --branchify are retired; use repocutter to prepare nonstandard repositories
     repocutter reduce now has simpler behavior and can take input from stdin.
     reposurgeon incorporarte can handle symlinks
     repocutter can now select and deselect node spans within revisions.
     In repocutter sift/expunge, a new -f option disables regexp interpretation.
     In repocutter, new skipcopy and filecopy commands.
     In Subversion IDs, uniform use of .-notation for node indices.

Supporters

This work is funded by...

My Bronze supporters: 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, Jan Roudaut, Hsueh Sung, Ken LaCrosse, taishi28012, John Simpson, Jerod Tufte, Paul Abbott, Stan Witherspoon, Donald Greer, Gratiela Chergu, Michael Ciagala, Dale Carstensen, Chip Davis, Liudmilla Karukina, Jim McCloskey, Dewey Sasser, Hal Hildebrand, Connor Wood, Ken Kennedy, darrin, Mark Gardner, William Christensen, Malcolm Ocean, Rod Davenport, Nodarius Darjania, Cheryl Evry, Wenfeng Liang, Irving Rivas, Bill Soistman, ReallyBored, Άρης Δάσος, Ron Lauzon, TheFred, Paul Theodoropolous, Doug Phillips, Les Vogel, Matt Pollard, Andres Cordova, Umgeher Torgersen, Syeed Ali, Raghu Veer Dendukuri, Perry The Cynic, Gustav A Wirth, Mitchell Bryant, Matt Krueger, Jim Mog, John D. Taylor.

My Institutional supporters: Jason Azze and the DEVOPS team at his $DAYJOB, Christoph Happle, Symmetry Investments, Willam Duff, Mark Atwood, Caleb LaVergne, zariah mccall.

Become a Patreon patron!

Or contribute via SubscribeStar.