{"id":27021713,"url":"https://github.com/hmknapp/migrate-mercurial-to-git","last_synced_at":"2026-05-09T10:07:47.781Z","repository":{"id":229224170,"uuid":"323894131","full_name":"HMKnapp/migrate-mercurial-to-git","owner":"HMKnapp","description":"Easily mass migrate Mercurial repos to Git, Github, Gitlab, Bitbucket","archived":false,"fork":false,"pushed_at":"2021-04-12T07:01:20.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-22T21:34:56.578Z","etag":null,"topics":["git","github","mercurial","migrate"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HMKnapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-23T12:17:43.000Z","updated_at":"2024-03-22T21:34:58.852Z","dependencies_parsed_at":"2024-03-22T21:45:28.896Z","dependency_job_id":null,"html_url":"https://github.com/HMKnapp/migrate-mercurial-to-git","commit_stats":null,"previous_names":["hmknapp/migrate-mercurial-to-git"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMKnapp%2Fmigrate-mercurial-to-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMKnapp%2Fmigrate-mercurial-to-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMKnapp%2Fmigrate-mercurial-to-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMKnapp%2Fmigrate-mercurial-to-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HMKnapp","download_url":"https://codeload.github.com/HMKnapp/migrate-mercurial-to-git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242607,"owners_count":20907128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","github","mercurial","migrate"],"created_at":"2025-04-04T19:52:07.265Z","updated_at":"2026-05-09T10:07:42.729Z","avatar_url":"https://github.com/HMKnapp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# migrate-mercurial-to-git\n\n## Usage\n```sh\nbash hg-to-git.sh \u003chg-repo-url\u003e \u003cgit-repo-url\u003e\n```\n\n## Optional: Target Prefix\n\nFor batch migration you can optionally specify `GIT_PREFIX` in the environment.\nThe target repo is constructed from `GIT_PREFIX` plus the name of the HG repo.\n\n```sh\nexport GIT_PREFIX=\"https://gitlab.com/user/group/\"\nbash hg-to-git.sh https://internal.sys/scm-webapp/hg/some_name\n```\nThe target repo will be `https://gitlab.com/user/group/`**`some_name`**\n\n\u003e ⚠️ `\u003cgit-repo-url\u003e` overrides `GIT_PREFIX`\n\n---\n\n## Acknowledgements:\n* Uses https://github.com/frej/fast-export for the repo conversion\n\n---\n\n*PULL REQUESTS WELCOME*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmknapp%2Fmigrate-mercurial-to-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmknapp%2Fmigrate-mercurial-to-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmknapp%2Fmigrate-mercurial-to-git/lists"}