Tools to convert Mercurial to Git consistently at pEp
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Claudio Luck a07065c4d3 find unknown authors 2 months ago
README.md find unknown authors 2 months ago
authors.txt find unknown authors 2 months ago
list_unknown_authors.sh find unknown authors 2 months ago

README.md

hg-git support tools

Install

In the .hg/hgrc of the Mercurial repository:

  1. add the gitea git repository: gitea = git+ssh://gitea@gitea.pep.foundation:23065/<group>/<repo>.git

  2. add the [git] section:

[git]
branch_bookmark_suffix=_git_pEpFnd
authors = ../hg-git-convert/authors.txt
  1. make sure to extend authors.txt by all unknown authors:
cd repos/<your-repo>
../hg-git-convert/list_unknown_authors.sh