Linus Torvalds [off-list ref] writes:
On Mon, 31 Oct 2005, Randal L. Schwartz wrote:
quoted
Martin> cg-diff -r from:to | patch -p1
What's the easiest way then to toss all that intermediate history?
I'm thinking of the rcs "-o" switch that "outdates" any deltas in that
range.
Start a new branch before the sequence you want to clean up. Then, move
the cleaned-up history to that branch, and eventually you can just delete
the old one.
Big caveat --- do that before you make that dirty tree available
to outside, otherwise you would be in hot water ;-)