add support for fast-export filename and metadata encoding feature
git-hg does not work well (at all) with filenames with none-ASCII characters like e.g. the German äöü umlauts. The reason for this seems to be that Mercurial stores/exports such filenames in a different encoding than git-hg (or fast-export actually) expects. As a result, while git-hg imports all Mercurial commits (kind of) successfully, Git cannot match the resulting files to its imported commit history and sees all files with none-ASCII characters as untracked.
The solution for this is rather simple: since commit d202200fd9daa75cdb37d4cf067d4ca00e269535 from 11 days ago, fast-export supports a new encoding command argument. When using fast-export with "-e cp1252", my Mercurial repositories are converted to Git successfully with all äöü filenames and all metadata (e.g. commit messsages) intact.
I therefore suggest that you add support for fast-export's -e encoding argument to git-hg too.