Converting SVN repo used by morons

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Apr 15 07:46:07 CDT 2010


On Thu, 15 Apr 2010 14:38:37 +0200, Jens Bäckman <jens.backman at gmail.com> wrote:
> Let me first state that Mercurial converts my repository just fine. No
> errors, no lost files, whole history intact.
>
> The repository I'm converting has an "interesting" past history. There
> are several files in the early development history that were created,
> modified, rewritten, deleted, recreated, deleted again... This makes
> the history for one file look something like this:
>
> r1: Created point.cpp
> r8: Rewrote using pig latin
> r12: Only use roman numerals
> r19: Deleted idiotic file
> r25: Reinstated idiotic file
> r62: Deleted idiotic file again, it was 250kb of junk
> r9841: point: Created point class
> r14135: point: Made calculations use double instead of ints
>
> What I want to do is keep all of the history, but remove the nonsense
> changes to this specific file.

Does converting the final hg repository once more but with a filemap
that strips all the changesets of these files work for you?



More information about the Mercurial mailing list