Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emanguy/hg-git-batch-convert
Uses frej/fast-export to convert a folder full of mercurial repositories to git repositories.
https://github.com/emanguy/hg-git-batch-convert
Last synced: 7 days ago
JSON representation
Uses frej/fast-export to convert a folder full of mercurial repositories to git repositories.
- Host: GitHub
- URL: https://github.com/emanguy/hg-git-batch-convert
- Owner: emanguy
- License: apache-2.0
- Created: 2016-07-20T13:22:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T17:03:59.000Z (almost 8 years ago)
- Last Synced: 2024-10-11T01:41:12.165Z (about 1 month ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
To use the converter, place mercurial repositories in the input folder. Then, run hg-batch-convert.sh.
hg-batch-convert.sh requires Mercurial, Git, and Python (not Python3). If you run "Python --version" and it does not say "Python 2.7.10" or another 2.x version of python, this will likely not work.
Conversion will place the new repositories in the Output/ folder. It will also add a single commit on every branch which has a .hgignore, where it has converted the existing .hgignore to a .gitignore.
fast-export can be added by running `git submodule init && git submodule update`.