hg fastexport

hg fastexport#

export repository as git fast-import stream#

hg fastexport [OPTION]... [REV]...

This command is provided by the fastexport extension.

This command lets you dump a repository as a human-readable text stream. It can be piped into corresponding import routines like "git fast-import". Incremental dumps can be created by using marks files.

Options

-r

--rev REV [+]

revisions to export

-i

--import-marks FILE

old marks file to read

-e

--export-marks FILE

new marks file to write

-A

--authormap FILE

remap usernames using this file

--mq

operate on patch repository

Options marked [+] can be repeated.