# fastexport

Contents

- Commands
  - Change import/export

export repositories as git fast-import stream

# Commands

## Change import/export

### fastexport

export repository as git fast-import stream:

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

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

[+] marked option can be specified multiple times