hg-fast-export(1)

hg-fast-export1

Import hg repository into git

Usage

hg-fast-export [--quiet] [-r <repo>] [--force] [-m <max>] [-s] [-A <file>] [-M <name>] [-o <name>]

Overview

Import hg repository <repo> up to either tip or <max> If <repo> is omitted, use last hg repository as obtained from state file, GIT_DIR/hg2git-state by default.

Note: The argument order matters.

Options

-m

Maximum revision to import

--quiet Passed to git-fast-import(1)

-s

Enable parsing Signed-off-by lines

-A

Read author map from file (Same as in git-svnimport(1) and git-cvsimport(1))

-r

Mercurial repository to import

-M

Set the default branch name (default to 'master')

-o

Use <name> as branch namespace to track upstream (eg 'origin')

--force

Ignore validation errors when converting, and pass --force to git-fast-import(1)

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.