Preserve commit history of all Mercurial repositories.

This needs git-remote-hg https://github.com/felipec/git-remote-hg .
Add merge message to speed up history save.

Start work on RESUME feature.