Created
February 22, 2015 12:55
-
-
Save holtgrewe/bae94ddcd625e12cf8f8 to your computer and use it in GitHub Desktop.
Importing LEMON library to GitHub.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -x | |
# Source Mercurial repository: http://lemon.cs.elte.hu/hg/lemon | |
# Target Github repository: https://github.com/seqan/lemon-mirror | |
# The following is based on the following Stack Overflow help post: | |
# | |
# http://stackoverflow.com/a/6917665/84349 | |
mkdir make-lemon-mirror && cd make-lemon-mirror | |
virtualenv venv | |
. venv/bin/activate | |
hg clone http://lemon.cs.elte.hu/hg/lemon | |
mkdir lemon-mirror && cd lemon-mirror | |
git clone git://repo.or.cz/fast-export.git . | |
rm -rf .git .gitignore | |
git init | |
./hg-fast-export.sh -r ../lemon | |
git clean -f # remove fast-export files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment