-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Johnson edited this page Jul 14, 2022
·
3 revisions
This is a non-official mirror of orthanc: https://hg.orthanc-server.com/orthanc/
You may want to refer to the official mirror (not up-to-date): jodogne/OrthancMirror
This mirror converts the Mercurial repository to Git repository following this guide.
More specifically, the following code is executed:
git clone http://repo.or.cz/r/fast-export.git /tmp/fast-export
hg clone https://hg.orthanc-server.com/orthanc /tmp/hg-repo
# Ignore author file
git init /tmp/converted
cd /tmp/converted
# pip3 install mercurial
/tmp/fast-export/hg-fast-export.sh -r /tmp/hg-repo
git remote add origin git@github.com:j3soon/orthanc.git
git push origin --all
git push origin --tags
rm -rf /tmp/fast-export
rm -rf /tmp/hg-repo
rm -rf /tmp/converted
Make sure to disable Travis CI before pushing.