After using fast-export to migrate a mercurial repository to git, I've found that open named branches that weren't merged to default weren't converted. Now I want to import the outstanding changesets on these branches to the new git repos.
I've tried various approaches including hg-git and hg export, but the problem with these approaches is that the changesets or diffs I want to migrate have different changeset ids, and the processes error out since the history cannot be found.
I'm considering writing a script to automate exporting the changesets from Mercurial, locate the corresponding parent changeset in the new git repo, import to the git stage, and commit, but I'm wondering if a tool for something like this - importing diffs without matching history - already exists. Is there anything out there?