Closed knarf-se closed 12 years ago
This repository has some malformed user information on commits. All the recent stuff seems to be fairly up to date, but historically there are things like corvid@lavabit.com> and jcid. You can fix your locally converted git repo using something similar to http://stackoverflow.com/questions/6891370/how-fix-git-log-after-use-hg-fast-export-sh but I you might lose the ability to update to newer versions (not sure though).
Most of the heavy-lifting of git-hg is done by fast-export (http://repo.or.cz/w/fast-export.git/)
It has a -A option that you can supply an AUTHORFILE to which it should use to map authors in the repo to actual git authors. So you could use that to map invalid author lines to something proper. Or just hack up the Python script (http://repo.or.cz/w/fast-export.git/blob/HEAD:/hg-fast-export.py) to do something you would like if the author it detects is not valid.
If you find a general solution that should work in these types of situations let me know -- hopefully with a pull request :)
I might look into that someday, but not today, though. I have two other projects already that competes to get my attention.
But if I find a suitable and stable solution, I bet you'll be the first one to know :)
The offending mercurial repository is http://hg.dillo.org/dillo I was about to mirror it here on github and add another branch with my own edits (Which for now, would only consist of another icon theme).
The terminal interaction looks somewhat like this (I may have cut out some boring parts and personal info):
For my own sake, the Dillo git-mirror thing was not too important. I just thought I could use your script while I'm editing the Icons for Dillo anyway (I have not even compiled it yet, I wanted nicer Icons first, and Firefox is a memory sucker -- 2.7GB and counting ;) .
Otherwise, very big thanks for a nice program!