summaryrefslogtreecommitdiff
path: root/hg-fast-export
Commit message (Collapse)AuthorAgeFilesLines
* Commit changes from from black and isortBen Brown2022-02-051-9/+12
|
* lorry: Install and use fudge_user_ids plugin for hg-fast-exportBen Hutchings2020-10-011-0/+47
Mercurial allows arbitrary strings as user (committer) ids, while Git requires a name and email address, and specific punctuation around the address. hg-fast-export has some provision for automatically fixing-up invalid committer and author ids, but it doesn't catch everything. Its maintainer does not want to extend this, so we use a plugin instead. * Add a plugin (fudge_user_ids) that should fix up all invalid ids. * In setup.py: - Compile it at build time - Install it under a private data directory (/usr/share/lorry) - Clean up the bytecode * In gitify_hg, check whether hg-fast-export supports plugins, and where our plugins are. If this succeeds, add --plugin-path and --plugin options to enable fudge_user_ids. Closes #11.