Skip to content

Dockerised fast-export for migrating mercurial projects to git

Notifications You must be signed in to change notification settings

SamGoodliff/docker-h2-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

h2-migrate

h2-migrate is a docker image that provides the infrastructure for migrating a Mercurial project to git using the fast-export tool

Installation

Clone the repository

Using docker build the image

docker build -t h2-migrate .

Usage

Migrate repository

We need to specify the following paths and pass them to h2-migrate: -

  • MERCURIAL_REPO: local path to the mercurial repository
  • TARGET_DIR: local output directory for git repository

Either using docker

docker run -v [MERCURIAL_REPO]:/mercurial -v [TARGET_DIR]:/git h2-migrate

Or using docker-compose (edit in the docker-compose.yml)

docker-compose run h2-migrate

License

This project is licensed under the MIT license

Acknowledgments

About

Dockerised fast-export for migrating mercurial projects to git

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published