Mozilla people have created a script to help the mirroring of an mercurial (hg) repo on github.

I’ll post here so I’ll find it later…