bash hg-to-git.sh <hg-repo-url> <git-repo-url>
For batch migration you can optionally specify GIT_PREFIX
in the environment.
The target repo is constructed from GIT_PREFIX
plus the name of the HG repo.
export GIT_PREFIX="https://gitlab.com/user/group/"
bash hg-to-git.sh https://internal.sys/scm-webapp/hg/some_name
The target repo will be https://gitlab.com/user/group/
some_name
⚠️ <git-repo-url>
overridesGIT_PREFIX
- Uses https://github.com/frej/fast-export for the repo conversion
PULL REQUESTS WELCOME