git-hg(1)

git-hg1

Tool for tracking hg repos in git

Overview

git-hg can be used to transparently track Mercurial repositories in Git ones.

Usage

To clone a mercurial repo run:

clone <path/to/mercurial/repo> [local_checkout_path]

If that fails (due to unnamed heads) try:

clone --force <path/to/mercurial/repo> [local_checkout_path]

To work with a cloned mercurial repo use:

fetch [ --force ]

fetch latest branches from mercurial

pull [ --force ] [--rebase]

fetch and merge (or rebase) the into the current branch

push [destination]

push latest changes to mercurial

checkout [ --force ] branch_name

checkout a mercurial branch

Releases

Unchanged in 3 releases since Debian 7 (Wheezy).

  1. 7–9

From hg-fast-export 20140308-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.