Getting rid of extra heads after repository conversion

Thomas Klausner tk at giga.or.at
Wed May 16 03:55:17 CDT 2007


Hi!

I used fromcvs to convert some local CVS repositories to hg, and a few
of them now have two heads. These are from old development branches
that have been merged (in CVS) a long time ago, but I think this
information cannot be gleaned from the CVS files.

Now I'm looking for an easy way to get rid of the extra heads.
I don't care particularly that the merge is with the correct version
in the past (though if it's easily possible, I might do that).
When I do a simple 'hg merge' I get lots of removed files and changes,
about which I don't care, and I'm not quite sure how to undo these
automatic merge changes.

Can someone please tell me how to get rid of the extra heads without
much work?

Thanks,
 Thomas



More information about the Mercurial mailing list